sqlitedict is a lightweight Python wrapper that provides a persistent dictionary backed by SQLite. Applications interact with stored data using familiar dictionary operations such as indexing, keys, values, items, and length. Values can contain any picklable Python object instead of being restricted to basic SQL types. Multiple independent dictionary tables can live inside the same SQLite database file. The library supports access to one connection from multiple threads while internally serializing database operations. Developers can enable automatic commits or explicitly control transactions for better performance. Custom serializers allow alternatives such as JSON or compressed binary values, and context-manager support automatically closes database connections.

Features

  • SQLite-backed persistent Python dictionaries
  • Storage of arbitrary picklable objects
  • Multiple dictionaries per database file
  • Multithread-compatible database access
  • Automatic or explicit transaction commits
  • Custom serialization and compression

Project Samples

Project Activity

See All Activity >

Categories

Database

License

Apache License V2.0

Follow sqlitedict

sqlitedict Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of sqlitedict!

Additional Project Details

Programming Language

Python

Related Categories

Python Database Software

Registered

2026-08-12