Comparison
historydict vs lmdb vs speedict 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 lmdbSpeedb Python Binding
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install speedictPersistent 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.
- speedict 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 | speedict | sqlitedict |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 26 | 77 |