BSD Ports

devel/py-pylru 1.2.0_1 DragonFly

Least recently used (lru) cache implementation

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2
Categories
devel, python
Package size
20.0 KiB, 90.2 KiB installed

Description

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.

In the other systems

The newest version among them is 1.3.1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/py-pylru1.2.0_1 behind since 2026-07-08none known-[email protected]-
FreeBSDdevel/py-pylru1.2.0_1 behind since 2026-07-08none known-[email protected]-
NetBSDdevel/py-pylru1.3.1 newestnone known-[email protected]2026-07-08
HardenedBSDdevel/py-pylru1.2.0_1 behind since 2026-07-08no data-[email protected]-
GhostBSDdevel/py-pylru1.2.0_1 behind since 2026-07-08no data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install py311-pylru

From DPorts:

cd /usr/dports/devel/py-pylru && make install clean

Dependencies

Run dependencies 1

No port depends on this one.