Package Info

python-pylru


A least recently used (LRU) cache implementation


Development/Languages/Python

Pylru 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.


License: GPL-2.0-only
URL: https://github.com/jlhutch/pylru

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
1.2.0-bp155.2.10 info GA Release 2023-05-22 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python3-pylru
1.2.0-bp154.1.23 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python3-pylru
1.2.0-bp153.1.14 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-pylru
  • python3-pylru
1.2.0-bp152.1.11 info GA Release 2020-04-17 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-pylru
  • python3-pylru