Skip to main content
lru cahe
=====================

Thread-safe lru cache decorator based on **double link list** and **dict** (**OrderedDict**)

### how to install

pip install lru_cache

#### how to use

from cache import LruCache

@LruCache(maxsize=2, timeout=1)
def foo(num):
return num

# invalidate cache
foo.invalidate(num)

Metadata

Release files for lru_cache 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lru_cache 0.2.3
File Size Uploaded Provenance
lru_cache-0.2.3.tar.gz 2.2 kB Without provenance Details

Release files / lru_cache-0.2.3.tar.gz

Download URL lru_cache-0.2.3.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
21cb5738eb8da421e48c373bb350bfbf6856647c05f5548a8be72cdd999ee6d4
BLAKE2b-256 checksum
How to use checksums
1f65fb195865ef4c3c8f98b00531a4564c942e8f995fbc61ec7767881007ad8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for lru_cache 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page