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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/py-pylru | 1.2.0_1 behind since 2026-07-08 | none known | - | [email protected] | - |
| FreeBSD | devel/py-pylru | 1.2.0_1 behind since 2026-07-08 | none known | - | [email protected] | - |
| NetBSD | devel/py-pylru | 1.3.1 newest | none known | - | [email protected] | 2026-07-08 |
| HardenedBSD | devel/py-pylru | 1.2.0_1 behind since 2026-07-08 | no data | - | [email protected] | - |
| GhostBSD | devel/py-pylru | 1.2.0_1 behind since 2026-07-08 | no data | - | [email protected] | - |
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.