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
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Get Started 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

6 days ago