Summary: | [NEW PORT] devel/py-darts.util.lru: Simple dictionary with LRU behaviour in Python | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Danilo G. Baio <dbaio> | ||||
Component: | Individual Port(s) | Assignee: | Kurt Jaeger <pi> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | pi | ||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 211061 | ||||||
Attachments: |
|
Description
Danilo G. Baio
![]() ![]() A commit references this bug: Author: pi Date: Wed Jul 13 05:26:30 UTC 2016 New revision: 418461 URL: https://svnweb.freebsd.org/changeset/ports/418461 Log: New port: devel/py-darts.util.lru A LRUDict is basically a simple dictionary, which has a defined maximum capacity, that may be supplied at construction time, or modified at run-time via the capacity property: >>> cache = LRUDict(1) >>> cache.capacity 1 WWW: https://pypi.python.org/pypi/darts.util.lru PR: 211047 Submitted by: Danilo G. Baio <dbaio@bsd.com.br> Changes: head/devel/Makefile head/devel/py-darts.util.lru/ head/devel/py-darts.util.lru/Makefile head/devel/py-darts.util.lru/distinfo head/devel/py-darts.util.lru/pkg-descr Committed, thanks! |