Comparison
lmdb 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 8 weeks ago, commits in 10 of the last 26 weeks. A safe choice.
$
pip install lmdbRocksdb Python Binding
Maintained. Last release 12 months ago. Weaker on 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.
- 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 | lmdb | rocksdict | sqlitedict |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 80 | 54 |