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.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
tests
.gitignore
.travis.yml
CHANGES
LICENSE
MANIFEST.in
README.rst
cachual.py
setup.cfg
setup.py
tox.ini

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.