Path to this page:
./
devel/py-pylru,
Implementation of a least recently used (LRU) cache
Branch: pkgsrc-2021Q3,
Version: 1.2.0,
Package name: py38-pylru-1.2.0,
Maintainer: pkgsrc-usersPylru implements a true LRU cache along with several support classes. The cache
is efficient and written in pure Python. It works with Python 2.6+ including
the 3.x series. Basic operations (lookup, insert, delete) all run in a constant
amount of time. Pylru provides a cache class with a simple dict interface. It
also provides classes to wrap any object that has a dict interface with a
cache. Both write-through and write-back semantics are supported. Pylru also
provides classes to wrap functions in a similar way, including a function
decorator.
Master sites:
SHA1: e2754775c3025428a1c5406d7dc1bac54f586f42
RMD160: b066998bdc27e6588723b7f674ea8c10b44a5a58
Filesize: 18.099 KB
Version history: (Expand)
- (2021-09-28) Package added to pkgsrc.se, version py38-pylru-1.2.0 (created)