Skip to main content

Simple annotation-based caching for your functions

Project description

Cachual is a simple library that makes it easy to cache the return values from your python functions with an annotation:

cache = RedisCache()

@cache.cached(ttl=900)
def is_user_valid(user_id):
    ...

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

Cachual-0.2.2.tar.gz (18.0 kB view details)

Uploaded Source

File details

Details for the file Cachual-0.2.2.tar.gz.

File metadata

  • Download URL: Cachual-0.2.2.tar.gz
  • Upload date:
  • Size: 18.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Cachual-0.2.2.tar.gz
Algorithm Hash digest
SHA256 9c9a57941e9e854bc72dc6ca503d6984bfe88be1364ea5ec1e816e764e674fe0
MD5 fa56b2711f242e576dd2041a3cf955aa
BLAKE2b-256 97415717043b0c755dbe39d2456988e078b94d68aeaebb964ebd202ed4a1f328

See more details on using hashes here.

Supported by

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