Comparison
historydict vs lmdb vs rocksdict vs sqlitedict
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A persistent dictionary with history backed by sqlite
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install historydictUniversal 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 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 4 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install sqlitedictIn short
- historydict is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- sqlitedict is slowing down (last release over 4 years ago): fine for existing code, risky for a new project.
- lmdb is the most used: 3.6M downloads a month, 2.0× more than sqlitedict.
- lmdb also has the best Pythie’s Index (77).
- Safe default for a new project: lmdb.
Side by side
| Metric | historydict | lmdb | rocksdict | sqlitedict |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 26 | Pythie’s Index: 77 | Pythie’s Index: 37 | Pythie’s Index: 18 |
| Verdict | Slowing down | Actively maintained | Low maintenance activity | Slowing down |
| Downloads / month | 124.6K | 3.6M | 779K | 1.7M |
| Downloads, month over month | +10% | +9% | -26% | +12% |
| GitHub stars | 3 | 758 | – | 1.2K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 3 | 264 | 29 | 131 |
| Last release | Aug 5, 2023 | Oct 2, 2026 | Dec 1, 2025 | Dec 3, 2022 |
| Releases, 12 months | 0 | 8 | 0 | 0 |
| Weeks with commits | 0 / 26 | 8 / 26 | – | 0 / 26 |
| Recent contributors | 7 | 4 | – | 12 |
| First release | Jan 2016 | Apr 2013 | Nov 2021 | Jul 2011 |
| Python versions | – | 3.9 – 3.14 | 3.7 – 3.14 | 3.7 – 3.10 |
| License | BSD-3-Clause | OLDAP-2.8 | MIT | Apache-2.0 |
| Known vulnerabilities | None | None | None | 2 |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.