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.2

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.2
File Size Uploaded Provenance Actions
cachelib-0.17.2.tar.gz 180.9 kB With provenance Details for cachelib-0.17.2.tar.gz

Built distribution (wheel)

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

Total release size: 216.4 kB

Release files / cachelib-0.17.2.tar.gz

Download URL cachelib-0.17.2.tar.gz
Size 180.9 kB
Tags Source
SHA-256 checksum
How to use checksums
583958fcf24a89b8fda57a4d9439162dfcb81a3a6199bcab7154b9844842bcdf
BLAKE2b-256 checksum
How to use checksums
67e8f7e968e40ed6c07276a5ab20bda22e9ed6a3f152292787995f0d5ad2ef16
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.2-py3-none-any.whl

Download URL cachelib-0.17.2-py3-none-any.whl
Size 35.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0618fe23be4dd804c0d971beccbfed7a8749c77cfd3fa033b6a9b9646b5d114c
BLAKE2b-256 checksum
How to use checksums
9bbb806d17468f8cda4810fee10ef1fb88d8967fbc97efff5d71c9cfe48a8758
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.2

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.2.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