Comparison
cached-property vs cachetools vs cachettl 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 cachetoolscachettl is an elegant LRU TTL cache decorator that also works with asyncio. It has the cache_info(), cache_clear() methods and access to the remainingttl property.
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install cachettlMethod 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.
- cachettl is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- 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 | cachettl | zope.cachedescriptors |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 17 | Pythie’s Index: 87 | Pythie’s Index: 18 | Pythie’s Index: 57 |
| Verdict | Slowing down | Actively maintained | Slowing down | Maintained |
| Downloads / month | 22.7M | 304.1M | 72.2K | 107.2K |
| Downloads, month over month | +8% | +14% | -1% | +7% |
| GitHub stars | 705 | 2.8K | 1 | 6 |
| Stars, last 7 days | +0 | +1 | +0 | +0 |
| Direct dependents | 410 | 0 | 0 | 26 |
| Last release | Oct 25, 2024 | Dec 1, 2026 | Jul 6, 2024 | 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 | 1 | 17 |
| First release | May 2014 | Mar 2014 | Jun 2024 | Mar 2007 |
| Python versions | 3.8 – 3.13 | 3.11 – 3.15 | 3.7 – 3.13 | 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.