Comparison
memoization vs repoze-lru vs theine
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A powerful caching library for Python, with TTL support and multiple algorithm options. (https://github.com/lonelyenvoy/python-memoization)
Likely abandoned. No release or commit for years (last release over 5 years ago).
$
pip install memoizationA 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-lruhigh performance in-memory cache
Low maintenance activity. Last release 16 months ago. Weaker on recent releases and release cadence.
$
pip install theineIn short
- memoization looks abandoned: avoid it for new projects.
- repoze-lru is the most used: 2.3M downloads a month, 2.2× more than memoization.
- Maintenance is comparable: repoze-lru 39, theine 37 on Pythie’s Index.
Side by side
| Metric | memoization | repoze-lru | theine |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 12 | Pythie’s Index: 39 | Pythie’s Index: 37 |
| Verdict | Likely abandoned | Low maintenance activity | Low maintenance activity |
| Downloads / month | 1M | 2.3M | 75K |
| Downloads, month over month | +12% | -17% | -51% |
| GitHub stars | 245 | 106 | – |
| Stars, last 7 days | – | – | – |
| Direct dependents | 55 | 32 | 1 |
| Last release | Aug 1, 2021 | May 16, 2026 | Aug 17, 2025 |
| Releases, 12 months | 0 | 1 | 0 |
| Weeks with commits | 0 / 26 | 0 / 26 | – |
| Recent contributors | 3 | 11 | – |
| First release | Aug 2018 | Jun 2009 | Feb 2023 |
| Python versions | 3.4 – 3.10 | 3.10 – 3.14 | – |
| License | MIT | LicenseRef-Repoze-BSD-derived | BSD-3-Clause |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.