Comparison
cachebox vs moka-py vs onecache vs py-memoize
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
The fastest memoizing and caching Python library written in Rust
Actively maintained. Last release 12 days ago, commits in 20 of the last 26 weeks. A safe choice.
pip install cacheboxA 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-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 onecacheCaching library for asynchronous Python applications (both based on asyncio and Tornado) that handles dogpiling properly and provides a configurable & extensible API.
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install py-memoizeIn short
- py-memoize is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- cachebox is the most used: 15.2M downloads a month, 26× more than onecache.
- cachebox also has the best Pythie’s Index (90).
- cachebox is growing fastest: downloads +20% over the last month.
- Safe default for a new project: cachebox.
Side by side
| Metric | cachebox | moka-py | onecache | py-memoize |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 90 | 54 |