Comparison
async-lru vs cachetools vs cashews 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-lruExtensible memoizing collections and decorators
Actively maintained. Last release 2 days ago, commits in 16 of the last 26 weeks. A safe choice.
pip install cachetoolscache tools with async power
Maintained. Last release 2 months ago, commits in 9 of the last 26 weeks. Weaker on security practices.
pip install cashewsPython 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: 292.3M downloads a month, 6.9× more than async-lru.
- Maintenance is comparable: cachetools 88, async-lru 86, cashews 70, 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 | async-lru | cachetools | cashews | onecache |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 86 | Pythie’s Index: 88 | Pythie’s Index: 70 | Pythie’s Index: 51 |
| Verdict | Actively maintained | Actively maintained | Maintained | Maintained |
| Downloads / month | 42.2M | 292.3M | 852.7K | 586.3K |
| Downloads, month over month | +3% | +13% | -10% | +14% |
| GitHub stars | 961 | 2.8K | 601 | 2 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 229 | 0 | 20 | 2 |
| Last release | Oct 12, 2026 | Nov 29, 2026 | Sep 17, 2026 | Oct 12, 2026 |
| Releases, 12 months | 4 | 40 | 3 | 3 |
| Weeks with commits | 21 / 26 | 16 / 26 | 9 / 26 | 1 / 26 |
| Recent contributors | 6 | 11 | 16 | 3 |
| First release | Apr 2017 | Mar 2014 | Dec 2019 | Jul 2021 |
| Python versions | 3.10 – 3.14 | 3.11 – 3.15 | 3.10 – 3.14 | 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.