Comparison
boltdb vs lmdb vs rocksdict vs sqlitedict
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
python port of boltdb
Likely abandoned. No release or commit for years (last release over 6 years ago).
pip install boltdbUniversal Python binding for the LMDB 'Lightning' Database
Actively maintained. Last release 2 months ago, commits in 10 of the last 26 weeks. A safe choice.
pip install lmdbRocksdb 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
- boltdb looks abandoned: avoid it for new projects.
- sqlitedict is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- lmdb is the most used: 3.5M downloads a month, 2.1× more than sqlitedict.
- lmdb also has the best Pythie’s Index (80).
- Safe default for a new project: lmdb.
Side by side
| Metric | boltdb | lmdb | rocksdict | sqlitedict |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 15 | 80 |