python3-sqlitedict

Persistent dict in Python, backed up by sqlite3 and pickle, multithread-safe
  https://github.com/piskvorky/sqlitedict
  0
  no reviews



A lightweight wrapper around Python's sqlite3 database with a simple, Pythonic dict-like interface and support for multi-thread access:

By default, sqlitedict's exception handling favors verbosity over efficiency. It extracts and outputs the outer exception stack to the error logs.

Features include:

* Values can be any picklable objects (uses 'pickle' with the highest protocol). * Support for multiple tables (=dicts) living in the same database file. * Support for access from multiple threads to the same connection (needed by e.g. Pyro). * Support for custom serialization or compression: