Skip to main content

CacheLib

A collection of cache libraries in the same API interface. Extracted from Werkzeug.

Supported backends include:

Pallets Ecosystem

Installation

Install from PyPI:

pip install cachelib

A Minimal Example

from cachelib import SimpleCache

# Create a cache instance
cache = SimpleCache()

# Set a value in the cache
cache.set("my_key", "my_value")

# Retrieve the value from the cache
value = cache.get("my_key")
print(value)  # Output: my_value

# Delete the value from the cache
cache.delete("my_key")

# Try to retrieve the deleted value
value = cache.get("my_key")
print(value)  # Output: None

Release files for cachelib 0.17.0

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

Source distribution (sdist)

Source distribution for cachelib 0.17.0
File Size Uploaded
cachelib-0.17.0.tar.gz 135.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cachelib 0.17.0
File Interpreter ABI Platform
cachelib-0.17.0-py3-none-any.whl Python 3 none any Details

Total release size: 163.8 kB

Release files / cachelib-0.17.0.tar.gz

Download URL cachelib-0.17.0.tar.gz
Size 135.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f3c7dc8d3c1132ab699681ffdf8a52d341d9425ac1401c538cf0b1d87b1677c8
BLAKE2b-256 checksum
How to use checksums
c6f4b20875916b83f68775093554ce2544b12255396ba69abd93d8903cce0feb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Release files / cachelib-0.17.0-py3-none-any.whl

Download URL cachelib-0.17.0-py3-none-any.whl
Size 28.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f83909b6f78741c3a5d76d292d13bf24964ffb13e00ea1d18f92e20599766ce0
BLAKE2b-256 checksum
How to use checksums
f5879110494f2816d3f2907ac9a0a0a5387f34bc4fa9755721ad09f0a2c99e9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.17.0 This release

2 release files

0.16.1

2 release files

0.16.0

2 release files

0.15.0

2 release files

0.13.0

2 release files

0.12.0

2 release files

0.11.0

2 release files

0.10.2

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

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