Cachetools

Latest version: v5.3.3

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

Scan your dependencies

Page 5 of 8

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.

1.1.2

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

- Fix pickling of large ``LRUCache`` and ``TTLCache`` instances.

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()``.

Page 5 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.