Comparison
cached_method vs memoized-property vs property-cached vs zope.cachedescriptors
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
The equivalent of cached_property for methods
Likely abandoned. No release or commit for years (last release over 5 years ago).
pip install cached-methodA simple python decorator for defining properties that only run their fget function once
Likely abandoned. No release or commit for years (last release over 10 years ago).
pip install memoized-propertyA decorator for caching properties in classes (forked from cached-property).
Likely abandoned. No release or commit for years (last release over 6 years ago).
pip install property-cachedMethod and property caching decorators
Low maintenance activity. Last release 15 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install zope-cachedescriptorsIn short
- cached_method looks abandoned: avoid it for new projects.
- memoized-property looks abandoned: avoid it for new projects.
- property-cached looks abandoned: avoid it for new projects.
- zope.cachedescriptors is the most used: 106.6K downloads a month.
- zope.cachedescriptors also has the best Pythie’s Index (38).
- zope.cachedescriptors is growing fastest: downloads +11% over the last month.
Side by side
| Metric | cached_method | memoized-property | property-cached | zope.cachedescriptors |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 14 | 19 |