A flexible caching decorator for Flask that supports Replit, Redis, and in-memory storage.
Project description
Cachecade
Cachecade is a flexible caching package for Flask applications that supports multiple backends with a prioritized fallback mechanism. Out of the box, it supports:
- Replit Key–Value Store
- Redis
- In-Memory Caching
Features
- Prioritized Storage Engines: By default, Cachecade uses
['replit', 'redis', 'memory']as the order of precedence. - TTL Support: Cache entries have a time-to-live (TTL) after which they are considered stale.
- Decorator-Based Caching: Easily cache function results by using the provided decorator.
Installation
Clone this repository and install it with pip:
pip install .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cachecade-0.1.0.tar.gz.
File metadata
- Download URL: cachecade-0.1.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb0584c66a20bdea633384597ff172874cbb9359a8b29190b38c5375682dbee1
|
|
| MD5 |
ee96039dc5afaac5706709f1ce485c2e
|
|
| BLAKE2b-256 |
812e35395c2e735b2b1370fa84a5506b6db9a13ff8c62494f51c992608d2dfe5
|
Provenance
The following attestation bundles were made for cachecade-0.1.0.tar.gz:
Publisher:
publish-to-pypi.yml on ppicazo/cachecade
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cachecade-0.1.0.tar.gz -
Subject digest:
fb0584c66a20bdea633384597ff172874cbb9359a8b29190b38c5375682dbee1 - Sigstore transparency entry: 196484670
- Sigstore integration time:
-
Permalink:
ppicazo/cachecade@c60412b8d3180c74c443c1e8b1a1eb31602b87b1 -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/ppicazo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@c60412b8d3180c74c443c1e8b1a1eb31602b87b1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file cachecade-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cachecade-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7229ff46d909d9cf0163e13404912c5d946b085472ecc14eba9bec2bd47752fa
|
|
| MD5 |
43be8858f79a4d575dc648249d365370
|
|
| BLAKE2b-256 |
9b879593e325e99feb3d54fdc03b001c0da30fd462dfdd4e4c7d943ae2d9bb09
|
Provenance
The following attestation bundles were made for cachecade-0.1.0-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on ppicazo/cachecade
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cachecade-0.1.0-py3-none-any.whl -
Subject digest:
7229ff46d909d9cf0163e13404912c5d946b085472ecc14eba9bec2bd47752fa - Sigstore transparency entry: 196484674
- Sigstore integration time:
-
Permalink:
ppicazo/cachecade@c60412b8d3180c74c443c1e8b1a1eb31602b87b1 -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/ppicazo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@c60412b8d3180c74c443c1e8b1a1eb31602b87b1 -
Trigger Event:
push
-
Statement type: