Comparison
cached-property vs cachetools vs memoization 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-propertyExtensible memoizing collections and decorators
Actively maintained. Last release 3 days ago, commits in 17 of the last 26 weeks. A safe choice.
pip install cachetoolsA powerful caching library for Python, with TTL support and multiple algorithm options. (https://github.com/lonelyenvoy/python-memoization)
Likely abandoned. No release or commit for years (last release over 5 years ago).
pip install memoizationMethod and property caching decorators
Maintained. Last release 1 day ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
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.
- memoization looks abandoned: avoid it for new projects.
- cachetools is the most used: 304.1M downloads a month, 13× more than cached-property.
- cachetools also has the best Pythie’s Index (87).
- cachetools is growing fastest: downloads +14% over the last month.
- Safe default for a new project: cachetools.
Side by side
| Metric | cached-property | cachetools | memoization | zope.cachedescriptors |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 17 | Pythie’s Index: 87 | Pythie’s Index: 12 | Pythie’s Index: 57 |
| Verdict | Slowing down | Actively maintained | Likely abandoned | Maintained |
| Downloads / month | 22.7M | 304.1M | 1.1M | 107.2K |
| Downloads, month over month | +8% | +14% | +12% | +7% |
| GitHub stars | 705 | 2.8K | 245 | 6 |
| Stars, last 7 days | +0 | +1 | +0 | +0 |
| Direct dependents | 410 | 0 | 55 | 26 |
| Last release | Oct 25, 2024 | Dec 1, 2026 | Aug 1, 2021 | Dec 3, 2026 |
| Releases, 12 months | 0 | 42 | 0 | 1 |
| Weeks with commits | 0 / 26 | 17 / 26 | 0 / 26 | 2 / 26 |
| Recent contributors | 12 | 7 | 3 | 17 |
| First release | May 2014 | Mar 2014 | Aug 2018 | Mar 2007 |
| Python versions | 3.8 – 3.13 | 3.11 – 3.15 | 3.4 – 3.10 | 3.11 – 3.15 |
| License | BSD-3-Clause | MIT | MIT | ZPL-2.1 |
| 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.