(related-projects)=

{fas}external-link-alt Related Projects

If requests-cache isn't quite what you need, you can help make it better! See the {ref}Contributing Guide <contributing> for details.

You can also check out these other python projects related to caching HTTP requests:

General

  • CacheControl: An HTTP cache for requests that caches according to HTTP headers
  • diskcache: A general-purpose (not HTTP-specific) file-based cache built on SQLite

Async

  • aiohttp-client-cache: A client-side async cache for aiohttp, based on requests-cache
  • aiohttp-cache: A server-side async HTTP cache for the aiohttp web server
  • aiocache: General-purpose (not HTTP-specific) async cache backends

Other web frameworks

  • flask-caching: A server-side HTTP cache for applications using the Flask framework

Testing

  • requests-mock: A requests transport adapter that mocks HTTP responses
  • responses: A utility for mocking out the requests library
  • vcrpy: Records responses to local files and plays them back for tests; inspired by Ruby's VCR. Works at the httplib level and is compatible with multiple HTTP libraries.
  • betamax: Records responses to local files and plays them back for tests; also inspired by Ruby's VCR. Made specifically for requests.
  • HTTPretty: HTTP Client mocking tool that provides a full fake TCP socket module; inspired by Ruby's FakeWeb.
  • aioresponses: A helper to mock web requests in aiohttp, inspired by responses
  • aresponses: An asyncio testing server for mocking external services