Flask extension for the Cachual library.
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
.gitignore
.travis.yml
CHANGES
LICENSE
MANIFEST.in
README.rst
flask_cachual.py
setup.cfg
setup.py
test_flask_cachual.py
tox.ini

README.rst

Flask-Cachual

Build Documentation Status Coverage

Flask-Cachual is a Flask extension for the Cachual library. It allows you to cache the return values of functions in your Flask app with a simple decorator:

from flask_cachual import cached

@cached(ttl=300) # 5 minutes
def get_user_email(user_id):
    ...

It's that easy!

For details on how to install and use, see the documentation.