Comparison
backports.cached-property vs lazy vs memoized-property vs property-cached
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
cached_property() - computed once per instance, cached as attribute
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install backports-cached-propertyLazy attributes for Python objects
Maintained. Last release 5 months ago, commits in 6 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install lazyA 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-cachedIn short
- backports.cached-property 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.
- lazy is the most used: 448.5K downloads a month, 1.6× more than backports.cached-property.
- lazy also has the best Pythie’s Index (49).
Side by side
| Metric | backports.cached-property | lazy | memoized-property | property-cached |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 15 | Pythie’s Index: 49 | Pythie’s Index: 19 | Pythie’s Index: 21 |
| Verdict | Likely abandoned | Maintained | Likely abandoned | Likely abandoned |
| Downloads / month | 277.4K | 448.5K | 80.9K | 76.3K |
| Downloads, month over month | -1% | -19% | -16% | -8% |
| GitHub stars | 15 | 53 | 29 | 6 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 40 | 43 | 25 | 7 |
| Last release | Jun 14, 2022 | Jul 4, 2026 | Sep 29, 2016 | Mar 6, 2020 |
| Releases, 12 months | 0 | 1 | 0 | 0 |
| Weeks with commits | 0 / 26 | 6 / 26 | – | 0 / 26 |
| Recent contributors | 4 | 1 | – | 13 |
| First release | Apr 2020 | Mar 2011 | Dec 2013 | Jul 2019 |
| Python versions | 3.6 – 3.9 | – | 3.2 – 3.5 | 3.5 – 3.8 |
| License | MIT | BSD-2-Clause | non-standard | non-standard |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.