Comparison
cachebox vs cached-property vs propcache vs zope.cachedescriptors
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 2 weeks ago, commits in 21 of the last 26 weeks. A safe choice.
pip install cacheboxA decorator for caching properties in classes.
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install cached-propertyAccelerated property cache
Actively maintained. Last release 3 months ago, commits in 23 of the last 26 weeks. A safe choice.
pip install propcacheMethod and property caching decorators
Maintained. Last release 1 day ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install zope-cachedescriptorsIn short
- cached-property is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- propcache is the most used: 560M downloads a month, 25× more than cached-property.
- Maintenance is comparable: cachebox 90, propcache 82, zope.cachedescriptors 57 on Pythie’s Index.
- cachebox is growing fastest: downloads +19% over the last month.
- Safe default for a new project: propcache.
Side by side
| Metric | cachebox | cached-property | propcache | zope.cachedescriptors |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 90 | 17 |