Comparison
async-lru vs cachebox vs cachetools vs onecache
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Simple LRU cache for asyncio
Actively maintained. Last release 7 weeks ago, commits in 21 of the last 26 weeks. A safe choice.
pip install async-lruThe fastest memoizing and caching Python library written in Rust
Actively maintained. Last release 12 days ago, commits in 22 of the last 26 weeks. A safe choice.
pip install cacheboxExtensible memoizing collections and decorators
Actively maintained. Last release 6 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, 6.7× more than async-lru.
- Maintenance is comparable: cachebox 90, cachetools 88, async-lru 86, onecache 51 on Pythie’s Index.
- cachebox is growing fastest: downloads +19% over the last month.
- Safe default for a new project: cachetools.
Side by side
| Metric | async-lru | cachebox | cachetools | onecache |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 86 | Pythie’s Index: 90 | Pythie’s Index: 88 | Pythie’s Index: 51 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Maintained |
| Downloads / month | 43.4M | 15.2M | 289.6M | 596.4K |
| Downloads, month over month | +5% | +19% | +10% | +15% |
| GitHub stars | 961 | 437 | 2.8K | 2 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 229 | 15 | 0 | 2 |
| Last release | Oct 12, 2026 | Nov 19, 2026 | Nov 25, 2026 | Oct 12, 2026 |
| Releases, 12 months | 4 | 19 | 38 | 3 |
| Weeks with commits | 21 / 26 | 22 / 26 | 15 / 26 | 1 / 26 |
| Recent contributors | 6 | 3 | 13 | 3 |
| First release | Apr 2017 | Feb 2024 | Mar 2014 | Jul 2021 |
| Python versions | 3.10 – 3.14 | 3.10 – 3.15 | 3.11 – 3.15 | 3.8 – 3.14 |
| License | MIT | 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.