Installation instructions:

Install the latest stable version from PyPI:

pip install requests-cache

Or install from conda-forge, if you prefer:

conda install -c conda-forge requests-cache

If you would like to use the latest development (pre-release) version:

pip install --pre requests-cache

See Contributing for setup steps for local development


You may need additional dependencies depending on which features you want to use. To install with extra dependencies for all supported Backends and Serializers:

pip install requests-cache[all]

Python Version Compatibility#

The latest version of requests-cache requires python 3.7+. If you need to use an older version of python, here are the latest compatible versions and their documentation pages: