Comparison
cachebox vs cacheout vs cachetools vs expiring-dict
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 caching library for Python
Maintained. Last release 8 weeks ago, commits in 9 of the last 26 weeks. Weaker on release cadence and security practices.
pip install cacheoutExtensible memoizing collections and decorators
Actively maintained. Last release 2 days ago, commits in 16 of the last 26 weeks. A safe choice.
pip install cachetoolsPython dict with TTL support for auto-expiring caches
Low maintenance activity. Last release 21 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install expiring-dictIn short
- cachetools is the most used: 292.3M downloads a month, 19× more than cachebox.
- Maintenance is comparable: cachebox 90, cachetools 88, cacheout 68, expiring-dict 24 on Pythie’s Index.
- cacheout is growing fastest: downloads +76% over the last month.
- Safe default for a new project: cachetools.
Side by side
| Metric | cachebox | cacheout | cachetools | expiring-dict |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 90 | 68 |