Contents

requests-cache 1.2.0

0

A persistent cache for python requests

A persistent cache for python requests

Stars: 1254, Watchers: 1254, Forks: 138, Open Issues: 32

The requests-cache/requests-cache repo was created 12 years ago and the last code push was 23 hours ago.
The project is very popular with an impressive 1254 github stars!

How to Install requests-cache

You can install requests-cache using pip

pip install requests-cache

or add it to a project with poetry

poetry add requests-cache

Package Details

Author
Roman Haritonov
License
BSD-2-Clause
Homepage
https://github.com/requests-cache/requests-cache
PyPi:
https://pypi.org/project/requests-cache/
Documentation:
https://requests-cache.readthedocs.io
GitHub Repo:
https://github.com/reclosedev/requests-cache

Classifiers

  • Software Development/Libraries/Python Modules
No  requests-cache  pypi packages just yet.

Errors

A list of common requests-cache errors.

Code Examples

Here are some requests-cache code examples and snippets.

GitHub Issues

The requests-cache package has 32 open issues on GitHub

  • FileCache sometimes fails with binary formats due to incorrect assumption that binary files cannot be read as utf-8 text
  • How to migrate cache keys from 0.8.0 to 0.9.x?
  • Possible to chain multiple backends?
  • Apply expired_after both to existing cached response and to new cached response
  • Documentation example: "as of" cache control flag for backtesting
  • Add section to docs summarizing performance considerations
  • Add support for Cache-Control: only-if-cached

See more issues on GitHub

Related Packages & Articles

cachetools 5.3.3

Cachetools is a python library that provides Extensible memoizing collections and decorators. It provides multiple cache classes based on different cache algorithms, as well as decorators for easily memoizing function and method calls.

fastapi 0.110.1

FastAPI framework, high performance, easy to learn, fast to code, ready for production