Cachetools

Latest version: v5.5.2

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

Scan your dependencies

Page 5 of 9

2.0.1

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

- Officially support Python 3.6.

- Move documentation to RTD.

- Documentation: Update import paths for key functions (courtesy of
slavkoja).

2.0.0

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

- Drop Python 3.2 support (breaking change).

- Drop support for deprecated features (breaking change).

- Move key functions to separate package (breaking change).

- Accept non-integer ``maxsize`` in ``Cache.__repr__()``.

1.1.6

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

- Reimplement ``LRUCache`` and ``TTLCache`` using
``collections.OrderedDict``. Note that this will break pickle
compatibility with previous versions.

- Fix ``TTLCache`` not calling ``__missing__()`` of derived classes.

- Handle ``ValueError`` in ``Cache.__missing__()`` for consistency
with caching decorators.

- Improve how ``TTLCache`` handles expired items.

- Use ``Counter.most_common()`` for ``LFUCache.popitem()``.

1.1.5

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

- Refactor ``Cache`` base class. Note that this will break pickle
compatibility with previous versions.

- Clean up ``LRUCache`` and ``TTLCache`` implementations.

1.1.4

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

- Refactor ``LRUCache`` and ``TTLCache`` implementations. Note that
this will break pickle compatibility with previous versions.

- Document pending removal of deprecated features.

- Minor documentation improvements.

1.1.3

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

- Fix pickle tests.

Page 5 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.