Comparison
lmdb vs pickleshare vs rocksdict vs sqlitedict
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Universal Python binding for the LMDB 'Lightning' Database
Actively maintained. Last release 2 months ago, commits in 8 of the last 26 weeks. A safe choice.
pip install lmdbTiny 'shelve'-like database with concurrency support
Low maintenance activity. Last release over 8 years ago, commits in 2 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install pickleshareRocksdb Python Binding
Low maintenance activity. Last release 12 months ago. Weaker on recent releases and release cadence.
pip install rocksdictPersistent dict in Python, backed up by sqlite3 and pickle, multithread-safe.
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install sqlitedictIn short
- sqlitedict is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- pickleshare is the most used: 8.9M downloads a month, 2.5× more than lmdb.
- lmdb is better maintained: Pythie’s Index 77 against 26.
Side by side
| Metric | lmdb | pickleshare | rocksdict | sqlitedict |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 77 | 26 |