Comparison
cachetools vs pylru 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 15 of the last 26 weeks. A safe choice.
$
pip install cachetoolsA least recently used (LRU) cache implementation
Maintained. Last release 6 weeks ago, commits in 2 of the last 26 weeks. Weaker on commit activity and contributor spread.
$
pip install pylruA 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: 299.4M downloads a month, 131× more than repoze-lru.
- cachetools also has the best Pythie’s Index (87).
- cachetools is growing fastest: downloads +17% over the last month.
- Safe default for a new project: cachetools.
Side by side
| Metric | cachetools | pylru | repoze-lru |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 87 | Pythie’s Index: 57 | Pythie’s Index: 39 |
| Verdict | Actively maintained | Maintained | Low maintenance activity |
| Downloads / month | 299.4M | 321.5K | 2.3M |
| Downloads, month over month | +17% | +14% | -17% |
| GitHub stars | 2.8K | 222 | 106 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 0 | 39 | 32 |
| Last release | Dec 1, 2026 | Oct 25, 2026 | May 16, 2026 |
| Releases, 12 months | 42 | 5 | 1 |
| Weeks with commits | 15 / 26 | 2 / 26 | 0 / 26 |
| Recent contributors | 7 | 10 | 11 |
| First release | Mar 2014 | Jul 2011 | Jun 2009 |
| Python versions | 3.11 – 3.15 | – | 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.