NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #133 most downloaded on PyPI
Extensible memoizing collections and decorators
Last release 13 days ago
16 Sep 2026
Ships fairly regularly
a new release about every 3 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
13 years old
77 releases · first in 2014
Allow simple cache instances to be pickled.
Allow simple cache instances to be pickled.
Refactor Cache.getsizeof and Cache.missing default implementation.
Code cleanup for improved PEP 8 conformance.
Code cleanup for improved PEP 8 conformance.
Add documentation and unit tests for using @cachedmethod with generic mutable mappings.
Improve documentation.
One column per quarter.
Provide RRCache.choice property.
Provide RRCache.choice property.
Improve documentation.
Use a NestedTimer for TTLCache.
Use a NestedTimer for TTLCache.
- Deprecate Cache.getsize().
Deprecate Cache.getsize().
Ignore ValueError raised on cache insertion in decorators.
Ignore ValueError raised on cache insertion in decorators.
Add Cache.getsize().
Add Cache.__missing__().
Feature freeze for v1.0.
- Fix MANIFEST.in.
Fix MANIFEST.in.
Deprecate TTLCache.ExpiredError.
Deprecate TTLCache.ExpiredError.
Add choice argument to RRCache constructor.
Refactor LFUCache, LRUCache and TTLCache.
Use custom NullContext implementation for unsynchronized function decorators.
Raise TTLCache.ExpiredError for expired TTLCache items.
Raise TTLCache.ExpiredError for expired TTLCache items.
Support unsynchronized function decorators.
Allow @cachedmethod.cache() to return None
No formatting of KeyError arguments.
No formatting of KeyError arguments.
Update README.rst.
Do not delete expired items in TTLCache.__getitem__().
Do not delete expired items in TTLCache.__getitem__().
Add @ttl_cache function decorator.
Fix public getsizeof() usage.
Remove @cachedmethod lock parameter.
Add TTLCache.
Add Cache base class.
Remove @cachedmethod lock parameter.
Add proper locking for cache_clear() and cache_info().
Add proper locking for cache_clear() and cache_info().
Report size in cache_info().
- Remove @cache decorator. - Add size, getsizeof members. - Add @cachedmethod decorator.
Remove @cache decorator.
Add size, getsizeof members.
Add @cachedmethod decorator.
- Add @cache decorator. - Update documentation.
Add @cache decorator.
Update documentation.
- Initial release.
Initial release.
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →