Skip to main content

tLRU

Time-bound LRU caching library for Python 3, optimized for speed and efficient use of resources.

EXPERIMENTAL: Use at your own risk.

When installing under PyPy, be sure to:

export XXHASH_FORCE_CFFI=1

Requires Python 3.5 or better.

Related Works

The term "TLRU" is also used by M. Bilal and S. Kang in "Time Aware Least Recent Used (TLRU) cache management policy in ICN," 16th International Conference on Advanced Communication Technology, Pyeongchang, 2014, pp. 528-532, doi: 10.1109/ICACT.2014.6779016.

This Python project was originally implemented independently of M. Bilal and S. Kang's work, and the reuse of the term "TLRU" was coincidental. However, we cite it here as an important related work that describes a higher-level network caching system, while also quantifying the effects of combining a TTL with an LRU eviction strategy.

Legal

Copyright 2018 by individual and corporate contributors as noted in the individual source files.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use any portion of this software except in compliance with the License. Contributors agree to license their work under the same License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Metadata

Release files for tlru 0.3.1

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

Source distribution (sdist)

Source distribution for tlru 0.3.1
File Size Uploaded
tlru-0.3.1.tar.gz 11.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tlru 0.3.1
File Interpreter ABI Platform
tlru-0.3.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 22.7 kB

Release files / tlru-0.3.1.tar.gz

Download URL tlru-0.3.1.tar.gz
Size 11.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1ab3c1bd88688277ab4a24180d45f501ffc5ba73a8a10715daca2ef144a8ca2e
BLAKE2b-256 checksum
How to use checksums
b2284b82c8b97ceb1bf6fcf277687f6440a844824ad08889b80be23a817442be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

Release files / tlru-0.3.1-py2.py3-none-any.whl

Download URL tlru-0.3.1-py2.py3-none-any.whl
Size 10.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
eca7c4d30e023f053d75dfce7304b36a459a7b52e10689fc815aca75fe8eb322
BLAKE2b-256 checksum
How to use checksums
9c3eccd633ac87cca6b1696fcb02d6ae4cc95f2f999da5688bca63105a5aaec3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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