Comparison
cachelib vs cachetools 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 5 days ago, commits in 15 of the last 26 weeks. A safe choice.
$
pip install cachetoolsPython 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
- cachetools is the most used: 289.6M downloads a month, 41× more than cachelib.
- Maintenance is comparable: cachetools 88, cachelib 83, onecache 51 on Pythie’s Index.
- onecache is growing fastest: downloads +15% over the last month.
- Safe default for a new project: cachetools.
Side by side
| Metric | cachelib | cachetools | onecache |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 83 | Pythie’s Index: 88 | Pythie’s Index: 51 |
| Verdict | Actively maintained | Actively maintained | Maintained |
| Downloads / month | 7.1M | 289.6M | 596.4K |
| Downloads, month over month | +2% | +10% | +15% |
| GitHub stars | 163 | 2.8K | 2 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 53 | 0 | 2 |
| Last release | Nov 10, 2026 | Nov 25, 2026 | Oct 12, 2026 |
| Releases, 12 months | 11 | 38 | 3 |
| Weeks with commits | 21 / 26 | 15 / 26 | 1 / 26 |
| Recent contributors | 2 | 13 | 3 |
| First release | Nov 2018 | Mar 2014 | Jul 2021 |
| Python versions | – | 3.11 – 3.15 | 3.8 – 3.14 |
| License | BSD-3-Clause | MIT | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.