Cachetools

Latest version: v5.3.3

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

Scan your dependencies

Page 7 of 8

0.7.1

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

- Fix `MANIFEST.in`.

0.7.0

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

- Deprecate ``TTLCache.ExpiredError``.

- Add `choice` argument to ``RRCache`` constructor.

- Refactor ``LFUCache``, ``LRUCache`` and ``TTLCache``.

- Use custom ``NullContext`` implementation for unsynchronized
function decorators.

0.6.0

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

- Raise ``TTLCache.ExpiredError`` for expired ``TTLCache`` items.

- Support unsynchronized function decorators.

- Allow ``cachedmethod.cache()`` to return None

0.5.1

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

- No formatting of ``KeyError`` arguments.

- Update ``README.rst``.

0.5.0

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

- Do not delete expired items in TTLCache.__getitem__().

- Add ``ttl_cache`` function decorator.

- Fix public ``getsizeof()`` usage.

0.4.0

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

- Add ``TTLCache``.

- Add ``Cache`` base class.

- Remove ``cachedmethod`` `lock` parameter.

Page 7 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.