Cachetools

Latest version: v5.5.1

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 9

1.1.1

===================

- Improve key functions.

- Improve documentation.

- Improve unit test coverage.

1.1.0

===================

- Add ``cached`` function decorator.

- Add ``hashkey`` and ``typedkey`` functions.

- Add `key` and `lock` arguments to ``cachedmethod``.

- Set ``__wrapped__`` attributes for Python versions < 3.2.

- Move ``functools`` compatible decorators to ``cachetools.func``.

- Deprecate ``cachedmethod`` `typed` argument.

- Deprecate `cache` attribute for ``cachedmethod`` wrappers.

- Deprecate `getsizeof` and `lock` arguments for `cachetools.func`
decorator.

1.0.3

===================

- Clear cache statistics when calling ``clear_cache()``.

1.0.2

===================

- Allow simple cache instances to be pickled.

- Refactor ``Cache.getsizeof`` and ``Cache.missing`` default
implementation.

1.0.1

===================

- Code cleanup for improved PEP 8 conformance.

- Add documentation and unit tests for using ``cachedmethod`` with
generic mutable mappings.

- Improve documentation.

1.0.0

===================

- Provide ``RRCache.choice`` property.

- Improve documentation.

Page 6 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.