Comparison
memoized-property vs propcache vs property-cached
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A 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-propertyAccelerated property cache
Actively maintained. Last release 3 months ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install propcacheA 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-cachedIn short
- memoized-property looks abandoned: avoid it for new projects.
- property-cached looks abandoned: avoid it for new projects.
- propcache is the most used: 548.6M downloads a month, 6911× more than memoized-property.
- propcache also has the best Pythie’s Index (82).
- Safe default for a new project: propcache.
Side by side
| Metric | memoized-property | propcache | property-cached |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | 82 |