./devel/py-cachetools, Extensible memoizing collections and decorators

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 5.5.0, Package name: py312-cachetools-5.5.0, Maintainer: minskim

cachetools is Extensible memoizing collections and decorators.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 27.013 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-08-19 11:21:53 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cachetools: updated to 5.5.0

v5.5.0 (2024-08-18)

- ``TTLCache.expire()`` returns iterable of expired ``(key, value)``
  pairs.
- ``TLRUCache.expire()`` returns iterable of expired ``(key, value)``
  pairs.
- Documentation improvements.
- Update CI environment.
   2024-07-17 06:05:53 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cachetools: updated to 5.4.0

v5.4.0 (2024-07-15)

- Add the ``keys.typedmethodkey`` decorator.
- Deprecate ``MRUCache`` class.
- Deprecate ``@func.mru_cache`` decorator.
- Update CI environment.
   2024-02-27 09:35:32 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-cachetools: updated to 5.3.3

v5.3.3 (2024-02-26)

- Documentation improvements.
- Update CI environment.
   2023-10-27 11:33:34 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cachetools: updated to 5.3.2

v5.3.2 (2023-10-24)

- Add support for Python 3.12.
- Various documentation improvements.
   2023-05-28 12:51:32 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cachetools: updated to 5.3.1

v5.3.1 (2023-05-27)

- Depend on Python >= 3.7.
   2023-04-30 17:15:20 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-cachetools: update to 5.3.0.

v5.3.0 (2023-01-22)
===================

- Add ``cache_info()`` function to ``@cached`` decorator.

v5.2.1 (2023-01-08)
===================

- Add support for Python 3.11.

- Correct version information in RTD documentation.

- ``badges/shields``: Change to GitHub workflow badge routes.

v5.2.0 (2022-05-29)
===================

- Add ``cachetools.keys.methodkey()``.

- Add ``cache_clear()`` function to decorators.

- Add ``src`` directory to ``sys.path`` for Sphinx autodoc.

- Modernize ``func`` wrappers.

v5.1.0 (2022-05-15)
===================

- Add cache decorator parameters as wrapper function attributes.

v5.0.0 (2021-12-21)
===================

- 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.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS