Comparison
cached_method vs propcache 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-methodAccelerated property cache
Actively maintained. Last release 3 months ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install propcacheMethod 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_method looks abandoned: avoid it for new projects.
- propcache is the most used: 548.6M downloads a month, 5212× more than zope.cachedescriptors.
- propcache also has the best Pythie’s Index (82).
- Safe default for a new project: propcache.
Side by side
| Metric | cached_method | propcache | zope.cachedescriptors |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 14 | 82 |