Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python311-cachetools | Distribution: SUSE Linux Framework One |
Version: 5.5.0 | Vendor: SUSE LLC <https://www.suse.com/> |
Release: slfo.1.1.1 | Build date: Sat Sep 28 21:57:53 2024 |
Group: Development/Languages/Python | Build host: reproducible |
Size: 155994 | Source RPM: python-cachetools-5.5.0-slfo.1.1.1.src.rpm |
Packager: https://www.suse.com/ | |
Url: https://github.com/tkem/cachetools | |
Summary: Extensible memoizing collections and decorators |
This module provides various memoizing collections and decorators, including a variant of the Python 3 Standard Library `@lru_cache`_ function decorator.
MIT
* Sat Sep 28 2024 [email protected] - update to 5.5.0: * TTLCache.expire() returns iterable of expired (key, value) pairs. * Tue Apr 02 2024 [email protected] - update to 5.3.3: * Documentation improvements. * Update CI environment. * Fri Nov 10 2023 [email protected] - update to 5.3.2: * Add support for Python 3.12. * Various documentation improvements. * Mon May 29 2023 [email protected] - update to 5.3.1: * Depend on Python >= 3.7. * Fri Apr 21 2023 [email protected] - add sle15_python_module_pythons (jsc#PED-68) * Thu Apr 13 2023 [email protected] - Make calling of %{sle15modernpython} optional. * Sat Jan 28 2023 [email protected] - update to 5.3.0: * Add ``cache_info()`` function to ``@cached`` decorator. * Fri Jan 13 2023 [email protected] - update to 5.2.1: * Add support for Python 3.11. * Correct version information in RTD documentation. * ``badges/shields``: Change to GitHub workflow badge routes. * Mon Sep 26 2022 [email protected] - update to v5.2.0 * Add cachetools.keys.methodkey(). * Add cache_clear() function to decorators. * Add src directory to sys.path for Sphinx autodoc. * Modernize func wrappers. - update to v5.1.0 * Add cache decorator parameters as wrapper function attributes. - update to v5.0.0 * Require Python 3.7 or later (breaking change). * Remove deprecated submodules (breaking change). The cache, fifo, lfu, lru, mru, rr and ttl submodules have been deleted. Therefore, statements like from cachetools.ttl import TTLCache will no longer work. Use from cachetools import TTLCache instead. * Pass self to @cachedmethod key function (breaking change). The key function passed to the @cachedmethod decorator is now called as key(self, *args, **kwargs). The default key function has been changed to ignore its first argument, so this should only affect applications using custom key functions with the @cachedmethod decorator. * Change exact time of expiration in TTLCache (breaking change). TTLCache items now get expired if their expiration time is less than or equal to timer(). For applications using the default timer(), this should be barely noticable, but it may affect the use of custom timers with larger tick intervals. Note that this also implies that a TTLCache with ttl=0 can no longer hold any items, since they will expire immediately. * Change Cache.__repr__() format (breaking change). String representations of cache instances now use a more compact and efficient format, e.g. LRUCache({1: 1, 2: 2}, maxsize=10, currsize=2) * Add TLRU cache implementation. * Documentation improvements. * Sat Oct 16 2021 [email protected] - update to 4.2.4: - Add submodule shims for backward compatibility. - Add documentation and tests for using ``TTLCache`` with ``datetime``. - Link to typeshed typing stubs. - Flatten package file hierarchy. * Fri May 28 2021 [email protected] - version update to 4.2.2 * Update build environment. * Remove Python 2 remnants. * Format code with Black. - %check: use %pyunittest macro * Thu Jan 28 2021 [email protected] - update to 4.2.1: - Handle ``__missing__()`` not storing cache items. - Clean up ``__missing__()`` example. * Tue Dec 29 2020 [email protected] - update to 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. * Fri Jul 17 2020 [email protected] - update to 4.1.1: - Improve ``popitem()`` exception context handling. - Replace ``float('inf')`` with ``math.inf``. * Wed Apr 29 2020 [email protected] - update to 4.1.0: - Support ``user_function`` with ``cachetools.func`` decorators (Python 3.8 compatibility). - Support ``cache_parameters()`` with ``cachetools.func`` decorators (Python 3.9 compatibility). * Fri Jan 24 2020 [email protected] - update to 4.0.0 * Require Python 3.5 or later. * Fri Sep 13 2019 [email protected] - Update to 3.1.1: * Document how to use shared caches with @cachedmethod. * Fix pickling/unpickling of cache keys * Wed Feb 27 2019 [email protected] - update to 3.1.0: - Fix Python 3.8 compatibility issue. - Use ``time.monotonic`` as default timer if available. - Improve documentation regarding thread safety. - Officially support Python 3.7. - Drop Python 3.3 support (breaking change). - Remove ``missing`` cache constructor parameter (breaking change). - Remove ``self`` from ``@cachedmethod`` key arguments (breaking change). - Add support for ``maxsize=None`` in ``cachetools.func`` decorators. * Tue Dec 04 2018 [email protected] - Remove superfluous devel dependency for noarch package * Wed Aug 16 2017 [email protected] - Implement single-spec version - Update to version 2.0.1 * Officially support Python 3.6. * Move documentation to RTD. * Documentation: Update import paths for key functions (courtesy of slavkoja). * Thu Jun 01 2017 [email protected] - update to 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__()``. * Tue Aug 30 2016 [email protected] - update to 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()``. - Refactor ``Cache`` base class. Note that this will break pickle compatibility with previous versions. - Clean up ``LRUCache`` and ``TTLCache`` implementations. - Refactor ``LRUCache`` and ``TTLCache`` implementations. Note that this will break pickle compatibility with previous versions. - Document pending removal of deprecated features. - Minor documentation improvements. - Fix pickle tests. - Fix pickling of large ``LRUCache`` and ``TTLCache`` instances. - Improve key functions. - Improve documentation. - Improve unit test coverage. - Add ``@cached`` function decorator. - Add ``hashkey`` and ``typedkey`` fuctions. - 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. - Use pypi.io as Source url * Thu Jul 09 2015 [email protected] - Initial package (1.0.3)
/usr/lib/python3.11/site-packages/cachetools /usr/lib/python3.11/site-packages/cachetools-5.5.0-py3.11.egg-info /usr/lib/python3.11/site-packages/cachetools-5.5.0-py3.11.egg-info/PKG-INFO /usr/lib/python3.11/site-packages/cachetools-5.5.0-py3.11.egg-info/SOURCES.txt /usr/lib/python3.11/site-packages/cachetools-5.5.0-py3.11.egg-info/dependency_links.txt /usr/lib/python3.11/site-packages/cachetools-5.5.0-py3.11.egg-info/top_level.txt /usr/lib/python3.11/site-packages/cachetools/__init__.py /usr/lib/python3.11/site-packages/cachetools/__pycache__ /usr/lib/python3.11/site-packages/cachetools/__pycache__/__init__.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/cachetools/__pycache__/__init__.cpython-311.pyc /usr/lib/python3.11/site-packages/cachetools/__pycache__/func.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/cachetools/__pycache__/func.cpython-311.pyc /usr/lib/python3.11/site-packages/cachetools/__pycache__/keys.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/cachetools/__pycache__/keys.cpython-311.pyc /usr/lib/python3.11/site-packages/cachetools/func.py /usr/lib/python3.11/site-packages/cachetools/keys.py /usr/share/doc/packages/python311-cachetools /usr/share/doc/packages/python311-cachetools/CHANGELOG.rst /usr/share/doc/packages/python311-cachetools/README.rst /usr/share/licenses/python311-cachetools /usr/share/licenses/python311-cachetools/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Mon Jan 13 23:26:06 2025