devel/py-pylru 1.3.1 NetBSD
Implementation of a least recently used (LRU) cache
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
f38e5b6554- License
- gnu-gpl-v2
- Categories
- devel, python
- Package size
- 16.7 KiB, 76.9 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 |
|---|---|---|---|---|---|---|
| NetBSD | devel/py-pylru | 1.3.1 newest | none known | - | [email protected] | 2026-10-24 |
| FreeBSD | devel/py-pylru | 1.2.0_1 behind since 2026-07-08 | none known | - | [email protected] | - |
| DragonFly | devel/py-pylru | 1.2.0_1 behind since 2026-07-08 | none known | - | [email protected] | - |
| 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] | - |
Version history 2
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
pkgin install py311-pylru
From pkgsrc:
cd /usr/pkgsrc/devel/py-pylru && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.3.1 |
| NetBSD 10.1 aarch64 | 1.2.2 |
| SmartOS / illumos x86_64 | 1.3.1 |
| macOS 15 arm64 | 1.3.1 |
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Run dependencies 1
Required by 1
Configuration
No options to configure.
- Service scripts
- none
- Flavors
py312-pylru-1.3.1,py313-pylru-1.3.1,py314-pylru-1.3.1