Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cachecade-0.1.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cachecade-0.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

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

Hashes for cachecade-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fb0584c66a20bdea633384597ff172874cbb9359a8b29190b38c5375682dbee1
MD5 ee96039dc5afaac5706709f1ce485c2e
BLAKE2b-256 812e35395c2e735b2b1370fa84a5506b6db9a13ff8c62494f51c992608d2dfe5

See more details on using hashes here.

Provenance

The following attestation bundles were made for cachecade-0.1.0.tar.gz:

Publisher: publish-to-pypi.yml on ppicazo/cachecade

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for cachecade-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7229ff46d909d9cf0163e13404912c5d946b085472ecc14eba9bec2bd47752fa
MD5 43be8858f79a4d575dc648249d365370
BLAKE2b-256 9b879593e325e99feb3d54fdc03b001c0da30fd462dfdd4e4c7d943ae2d9bb09

See more details on using hashes here.

Provenance

The following attestation bundles were made for cachecade-0.1.0-py3-none-any.whl:

Publisher: publish-to-pypi.yml on ppicazo/cachecade

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page