./devel/py-propcache, Accelerated property cache

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


Branch: CURRENT, Version: 0.2.0, Package name: py312-propcache-0.2.0, Maintainer: pkgsrc-users

The module provides a fast implementation of cached properties for
Python 3.8+.

The API is designed to be nearly identical to the built-in
``functools.cached_property`` class, except for the additional
``under_cached_property`` class which uses ``self._cache`` instead
of ``self.__dict__`` to store the cached values and prevents
``__set__`` from being called.


Master sites:

Filesize: 39.991 KB

Version history: (Expand)