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.
6 lines
398 B
Text
6 lines
398 B
Text
$NetBSD: distinfo,v 1.1 2021/02/25 15:10:08 khorben Exp $
|
|
|
|
SHA1 (pylru-1.2.0.tar.gz) = e2754775c3025428a1c5406d7dc1bac54f586f42
|
|
RMD160 (pylru-1.2.0.tar.gz) = b066998bdc27e6588723b7f674ea8c10b44a5a58
|
|
SHA512 (pylru-1.2.0.tar.gz) = d4b247cb3740c2f94f4f41bd9affbb87db4e2ec8ff566978d130d08fee9df6109c13b64f22536903bf8be3ea60d4b105dd969d1156a279115b6bfedb817cdbf5
|
|
Size (pylru-1.2.0.tar.gz) = 18533 bytes
|