Comparison
cached-property vs zope.cachedescriptors
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A 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-propertyMethod and property caching decorators
Low maintenance activity. Last release 15 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and recent releases.
$
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.
- zope.cachedescriptors is the most used: 105.3K downloads a month.
- zope.cachedescriptors also has the best Pythie’s Index (37).
Side by side
| Metric | cached-property | zope.cachedescriptors |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 15 | 37 |