Comparison
klepto vs persista vs shelved-cache vs sqlitedict
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
persistent caching to memory, disk, or database
Maintained. Last release 10 months ago, commits in 8 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install kleptolibrary for persisting and caching data
Actively maintained. Last release 2 months ago, commits in 18 of the last 26 weeks. A safe choice.
pip install persistaPersistent cache for Python cachetools.
Low maintenance activity. Last release 12 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install shelved-cachePersistent 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
- sqlitedict is slowing down (last release over 4 years ago): fine for existing code, risky for a new project.
- shelved-cache is the most used: 275.1K downloads a month.
- persista is better maintained: Pythie’s Index 80 against 36.
- persista is the newcomer: first released Jul 2026.
Side by side
| Metric | klepto | persista | shelved-cache | sqlitedict |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 51 | Pythie’s Index: 80 | Pythie’s Index: 36 | Pythie’s Index: 18 |
| Verdict | Maintained | Actively maintained | Low maintenance activity | Slowing down |
| Downloads / month | 46.6K | 21.9K | 275.1K | 1.7M |
| Downloads, month over month | -41% | -73% | -84% | +9% |
| GitHub stars | 276 | 0 | 44 | 1.2K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 6 | 2 | 5 | 131 |
| Last release | Jan 19, 2026 | Sep 23, 2026 | Dec 15, 2025 | Dec 3, 2022 |
| Releases, 12 months | 1 | 18 | 1 | 0 |
| Weeks with commits | 8 / 26 | 18 / 26 | 0 / 26 | 0 / 26 |
| Recent contributors | 3 | 1 | 6 | 12 |
| First release | May 2014 | Jul 2026 | May 2021 | Jul 2011 |
| Python versions | 3.9 – 3.14 | 3.10 – 3.14 | 3.10 – 3.14 | 3.7 – 3.10 |
| License | BSD-3-Clause | BSD-3-Clause | 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.