Comparison
diskcache vs klepto vs persista vs py-key-value-aio
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Disk Cache -- Disk and file backed persistent cache.
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install diskcachepersistent 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 persistaAsync Key-Value Store - A pluggable interface for KV Stores
Actively maintained. Last release 2 weeks ago. A safe choice.
pip install py-key-value-aioIn short
- diskcache is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- py-key-value-aio is the most used: 91.2M downloads a month, 3.3× more than diskcache.
- Maintenance is comparable: py-key-value-aio 84, persista 80, klepto 51 on Pythie’s Index.
- py-key-value-aio is growing fastest: downloads +34% over the last month.
- persista is the newcomer: first released Jul 2026.
- Safe default for a new project: py-key-value-aio.
Side by side
| Metric | diskcache | klepto | persista | py-key-value-aio |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 12 | Pythie’s Index: 51 | Pythie’s Index: 80 | Pythie’s Index: 84 |
| Verdict | Slowing down | Maintained | Actively maintained | Actively maintained |
| Downloads / month | 27.4M | 46.6K | 21.9K | 91.2M |
| Downloads, month over month | +9% | -41% | -73% | +34% |
| GitHub stars | 2.9K | 276 | 0 | – |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 1.1K | 6 | 2 | 62 |
| Last release | Aug 31, 2023 | Jan 19, 2026 | Sep 23, 2026 | Nov 17, 2026 |
| Releases, 12 months | 0 | 1 | 18 | 7 |
| Weeks with commits | 0 / 26 | 8 / 26 | 18 / 26 | – |
| Recent contributors | 8 | 3 | 1 | – |
| First release | Feb 2016 | May 2014 | Jul 2026 | Sep 2025 |
| Python versions | 3.5 – 3.9 | 3.9 – 3.14 | 3.10 – 3.14 | 3.10 – 3.15 |
| License | Apache-2.0 | BSD-3-Clause | BSD-3-Clause | Apache-2.0 |
| Known vulnerabilities | 2 | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.