Comparison
cachekit vs cachelib vs cachetools vs cachettl
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Backend-agnostic caching for Python — intent-based decorators with circuit breaker, distributed locking, Prometheus metrics, and optional zero-knowledge AES-256-GCM encryption, on a Rust-powered core. Zero-config L1 in-memory; scales to Redis, Memcached, File, or CachekitIO.
Actively maintained. Last release 3 weeks ago, commits in 22 of the last 26 weeks. A safe choice.
pip install cachekitA collection of cache libraries in the same API interface.
Actively maintained. Last release 3 weeks ago, commits in 21 of the last 26 weeks. A safe choice.
pip install cachelibExtensible memoizing collections and decorators
Actively maintained. Last release 6 days ago, commits in 15 of the last 26 weeks. A safe choice.
pip install cachetoolscachettl is an elegant LRU TTL cache decorator that also works with asyncio. It has the cache_info(), cache_clear() methods and access to the remainingttl property.
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install cachettlIn short
- cachettl is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- cachetools is the most used: 289.6M downloads a month, 41× more than cachelib.
- Maintenance is comparable: cachetools 88, cachelib 83, cachekit 82 on Pythie’s Index.
- cachetools is growing fastest: downloads +10% over the last month.
- cachekit is the newcomer: first released Oct 2025.
- Safe default for a new project: cachetools.
Side by side
| Metric | cachekit | cachelib | cachetools | cachettl |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 82 | Pythie’s Index: 83 | Pythie’s Index: 88 | Pythie’s Index: 18 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Slowing down |
| Downloads / month | 44.4K | 7.1M | 289.6M | 72.6K |
| Downloads, month over month | -29% | +2% | +10% | -1% |
| GitHub stars | 4 | 163 | 2.8K | 1 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 53 | 0 | 0 |
| Last release | Nov 10, 2026 | Nov 10, 2026 | Nov 25, 2026 | Jul 6, 2024 |
| Releases, 12 months | 32 | 11 | 38 | 0 |
| Weeks with commits | 22 / 26 | 21 / 26 | 15 / 26 | 0 / 26 |
| Recent contributors | 1 | 2 | 13 | 1 |
| First release | Oct 2025 | Nov 2018 | Mar 2014 | Jun 2024 |
| Python versions | 3.11 – 3.15 | – | 3.11 – 3.15 | 3.7 – 3.13 |
| License | MIT | BSD-3-Clause | MIT | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.