Comparison
boltdb vs lmdb 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 8 weeks ago, commits in 10 of the last 26 weeks. A safe choice.
$
pip install lmdbPersistent 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.0× 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 | sqlitedict |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 15 | 80 |