Cachetools

Latest version: v5.5.2

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

Scan your dependencies

Page 3 of 9

4.2.4

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

- Add submodule shims for backward compatibility.

4.2.3

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

- Add documentation and tests for using ``TTLCache`` with
``datetime``.

- Link to typeshed typing stubs.

- Flatten package file hierarchy.

4.2.2

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

- Update build environment.

- Remove Python 2 remnants.

- Format code with Black.

4.2.1

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

- Handle ``__missing__()`` not storing cache items.

- Clean up ``__missing__()`` example.

4.2.0

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

- Add FIFO cache implementation.

- Add MRU cache implementation.

- Improve behavior of decorators in case of race conditions.

- Improve documentation regarding mutability of caches values and use
of key functions with decorators.

- Officially support Python 3.9.

4.1.1

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

- Improve ``popitem()`` exception context handling.

- Replace ``float('inf')`` with ``math.inf``.

- Improve "envkey" documentation example.

Page 3 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.