Comparison
diskcache vs diskcache-community vs klepto vs shelved-cache
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 diskcacheDisk Cache - Disk and file backed persistent cache.
Actively maintained. Last release 3 weeks ago, commits in 9 of the last 26 weeks. A safe choice.
pip install diskcache-communitypersistent 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 kleptoPersistent 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-cacheIn short
- diskcache is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- shelved-cache is the most used: 264.3K downloads a month.
- diskcache-community is better maintained: Pythie’s Index 77 against 36.
- diskcache-community is growing fastest: downloads +6151% over the last month.
- diskcache-community is the newcomer: first released Oct 2026.
Side by side
| Metric | diskcache | diskcache-community | klepto | shelved-cache |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 12 | Pythie’s Index: 77 | Pythie’s Index: 51 | Pythie’s Index: 36 |
| Verdict | Slowing down | Actively maintained | Maintained | Low maintenance activity |
| Downloads / month | 28.2M | 109.5K | 46.6K | 264.3K |
| Downloads, month over month | +14% | +6151% | -41% | -84% |
| GitHub stars | 2.9K | 70 | 276 | 44 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 1.1K | 4 | 6 | 5 |
| Last release | Aug 31, 2023 | Nov 11, 2026 | Jan 19, 2026 | Dec 15, 2025 |
| Releases, 12 months | 0 | 7 | 1 | 1 |
| Weeks with commits | 0 / 26 | 9 / 26 | 8 / 26 | 0 / 26 |
| Recent contributors | 8 | 4 | 3 | 6 |
| First release | Feb 2016 | Oct 2026 | May 2014 | May 2021 |
| Python versions | 3.5 – 3.9 | 3.10 – 3.14 | 3.9 – 3.14 | 3.10 – 3.14 |
| License | Apache-2.0 | Apache-2.0 | BSD-3-Clause | MIT |
| 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.