Comparison
memoization vs moka-py vs repoze-lru
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 high performance caching library for Python written in Rust
Maintained. Last release 3 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install moka-pyA 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
- memoization looks abandoned: avoid it for new projects.
- repoze-lru is the most used: 2.3M downloads a month, 2.2× more than memoization.
- moka-py is better maintained: Pythie’s Index 54 against 39.
Side by side
| Metric | memoization | moka-py | repoze-lru |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 12 | Pythie’s Index: 54 | Pythie’s Index: 39 |
| Verdict | Likely abandoned | Maintained | Low maintenance activity |
| Downloads / month | 1M | 93.4K | 2.3M |
| Downloads, month over month | +12% | -55% | -17% |
| GitHub stars | 245 | 312 | 106 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 55 | 1 | 32 |
| Last release | Aug 1, 2021 | Aug 21, 2026 | May 16, 2026 |
| Releases, 12 months | 0 | 3 | 1 |
| Weeks with commits | 0 / 26 | 3 / 26 | 0 / 26 |
| Recent contributors | 3 | 3 | 11 |
| First release | Aug 2018 | Nov 2024 | Jun 2009 |
| Python versions | 3.4 – 3.10 | 3.10 – 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.