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.1.tar.gz (16.6 kB view hashes)

Uploaded Source

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