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
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
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

4 days ago