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

Metadata

Release files for cachelib 0.17.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 cachelib 0.17.1
File Size Uploaded Provenance Actions
cachelib-0.17.1.tar.gz 177.7 kB With provenance Details for cachelib-0.17.1.tar.gz

Built distribution (wheel)

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

Total release size: 211.2 kB

Release files / cachelib-0.17.1.tar.gz

Download URL cachelib-0.17.1.tar.gz
Size 177.7 kB
Tags Source
SHA-256 checksum
How to use checksums
79557eb0dde2fdcdb85ac4e4b08c893182fab87e5e95ae0c9fe479e62c97298a
BLAKE2b-256 checksum
How to use checksums
8a18a883356951f29e03978b57616d766a03777103a07cc311390b347326fde6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

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

Download URL cachelib-0.17.1-py3-none-any.whl
Size 33.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe0a6a6a26588a53bcc2a05409ac6a9934f70413cec6ea0cd0071d68b4c8a4c6
BLAKE2b-256 checksum
How to use checksums
fe49e8792170cd93277a940b720381bc5bbce8d8e3c35e880948efa9476c9f1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

Security for cachelib 0.17.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for cachelib-0.17.1.tar.gz

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 Nov 10, 2026.

Transparency log

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