Comparison
memoization vs moka-py vs onecache
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 2 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install moka-pyPython 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
- memoization looks abandoned: avoid it for new projects.
- onecache is the most used: 596.4K downloads a month.
- Maintenance is comparable: moka-py 52, onecache 51 on Pythie’s Index.
- onecache is growing fastest: downloads +15% over the last month.
Side by side
| Metric | memoization | moka-py | onecache |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 12 | 52 |