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)

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
lru_cache-0.2.3.tar.gz 2.2 kB 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

Release history Release notifications | RSS feed

This release

0.2.3 This release

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.9

1 release file

0.1.8

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

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