Comparison
cachebox vs cacheout vs expiringdict vs memoization
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 22 of the last 26 weeks. A safe choice.
pip install cacheboxA caching library for Python
Maintained. Last release 8 weeks ago, commits in 8 of the last 26 weeks. Weaker on release cadence and security practices.
pip install cacheoutDictionary with auto-expiring values for caching purposes
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install expiringdictA 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 memoizationIn short
- expiringdict looks abandoned: avoid it for new projects.
- memoization looks abandoned: avoid it for new projects.
- cachebox is the most used: 15.2M downloads a month.
- cachebox also has the best Pythie’s Index (90).
- cacheout is growing fastest: downloads +53% over the last month.
- Safe default for a new project: cachebox.
Side by side
| Metric | cachebox | cacheout | expiringdict | memoization |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 90 | Pythie’s Index: 66 | Pythie’s Index: 19 | Pythie’s Index: 12 |
| Verdict | Actively maintained | Maintained | Likely abandoned | Likely abandoned |
| Downloads / month | 15.2M | 921.3K | 11.5M | 1M |
| Downloads, month over month | +19% | +53% | +7% | +5% |
| GitHub stars | 437 | 436 | – | 245 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 15 | 19 | 47 | 55 |
| Last release | Nov 19, 2026 | Oct 3, 2026 | Jun 21, 2022 | Aug 1, 2021 |
| Releases, 12 months | 19 | 1 | 0 | 0 |
| Weeks with commits | 22 / 26 | 8 / 26 | – | 0 / 26 |
| Recent contributors | 3 | 14 | – | 3 |
| First release | Feb 2024 | Jan 2018 | Sep 2013 | Aug 2018 |
| Python versions | 3.10 – 3.15 | 3.10 – 3.14 | 3.6 | 3.4 – 3.10 |
| License | MIT | MIT | Apache-2.0 | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.