Comparison
cachelib vs cachetools vs cachy vs onecache
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A 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 2 days ago, commits in 16 of the last 26 weeks. A safe choice.
pip install cachetoolsCachy provides a simple yet effective caching library.
Likely abandoned. No release or commit for years (last release over 7 years ago).
pip install cachyPython cache for sync and async code
Maintained. Last release 7 weeks ago, commits in 1 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install onecacheIn short
- cachy looks abandoned: avoid it for new projects.
- cachetools is the most used: 292.3M downloads a month, 42× more than cachelib.
- Maintenance is comparable: cachetools 88, cachelib 83, onecache 51 on Pythie’s Index.
- onecache is growing fastest: downloads +14% over the last month.
- Safe default for a new project: cachetools.
Side by side
| Metric | cachelib | cachetools | cachy | onecache |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 83 | Pythie’s Index: 88 | Pythie’s Index: 11 | Pythie’s Index: 51 |
| Verdict | Actively maintained | Actively maintained | Likely abandoned | Maintained |
| Downloads / month | 6.9M | 292.3M | 240.6K | 586.3K |
| Downloads, month over month | +2% | +13% | -6% | +14% |
| GitHub stars | 163 | 2.8K | 42 | 2 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 53 | 0 | 11 | 2 |
| Last release | Nov 10, 2026 | Nov 29, 2026 | Aug 6, 2019 | Oct 12, 2026 |
| Releases, 12 months | 11 | 40 | 0 | 3 |
| Weeks with commits | 21 / 26 | 16 / 26 | 0 / 26 | 1 / 26 |
| Recent contributors | 2 | 11 | 1 | 3 |
| First release | Nov 2018 | Mar 2014 | Nov 2015 | Jul 2021 |
| Python versions | – | 3.11 – 3.15 | 3.4 – 3.7 | 3.8 – 3.14 |
| License | BSD-3-Clause | MIT | 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.