Cache the return values of your Python functions with a simple decorator.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.rst

Cachual

Build Documentation Status Coverage

Cachual provides an easy way to cache the return values of your Python functions with a simple decorator:

from cachual import RedisCache
cache = RedisCache()

@cache.cached(ttl=360)
def get_user_email(user_id):
    ...

Installation

Installation is very easy with pip:

pip install Cachual

Docs

Check out the full documentation.