Comparison
cachetools vs lru-dict vs repoze-lru
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Extensible memoizing collections and decorators
Actively maintained. Last release 2 days ago, commits in 16 of the last 26 weeks. A safe choice.
$
pip install cachetoolsAn Dict like LRU container.
Low maintenance activity. Last release 13 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install lru-dictA tiny LRU cache implementation and decorator
Low maintenance activity. Last release 7 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install repoze-lruIn short
- cachetools is the most used: 302.6M downloads a month, 60× more than lru-dict.
- cachetools also has the best Pythie’s Index (87).
- cachetools is growing fastest: downloads +16% over the last month.
- Safe default for a new project: cachetools.
Side by side
| Metric | cachetools | lru-dict | repoze-lru |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 87 | Pythie’s Index: 28 | Pythie’s Index: 39 |
| Verdict | Actively maintained | Low maintenance activity | Low maintenance activity |
| Downloads / month | 302.6M | 5M | 2.3M |
| Downloads, month over month | +16% | -16% | -18% |
| GitHub stars | 2.8K | 284 | 106 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 0 | 112 | 32 |
| Last release | Dec 1, 2026 | Nov 2, 2025 | May 16, 2026 |
| Releases, 12 months | 42 | 0 | 1 |
| Weeks with commits | 16 / 26 | 0 / 26 | 0 / 26 |
| Recent contributors | 7 | 13 | 11 |
| First release | Mar 2014 | Jun 2013 | Jun 2009 |
| Python versions | 3.11 – 3.15 | 3.9 – 3.14 | 3.10 – 3.14 |
| License | MIT | MIT | LicenseRef-Repoze-BSD-derived |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.