Contents Menu Expand Light mode Dark mode Auto light/dark mode
requests-cache 1.0.0 documentation
Light Logo Dark Logo
  • User Guide
    • Installation
    • General Usage
    • Backends
      • DynamoDB
      • Filesystem
      • GridFS
      • MongoDB
      • Redis
      • SQLite
    • Cache Files
    • Troubleshooting
    • Cache Filtering
    • Cache Headers
    • Cache Inspection
    • Expiration
    • Request Matching
    • Security
    • Serializers
    • Advanced Requests
    • Compatibility with other libraries
  • Examples
  • API Reference
    • Session
    • Patcher
    • Backends
      • Base
      • DynamoDB
      • Filesystem
      • GridFS
      • MongoDB
      • Redis
      • SQLite
    • Models
      • Base
      • Raw Response
      • Request
      • Response
    • Cache Keys
    • Policy
      • Actions
      • Directives
      • Expiration
      • Settings
    • Serializers
      • Cattrs
      • Pipeline
      • Preconf
  • Project Info
    • Contributing
      • Note to Code Shelter maintainers
    • Contributors
    • Code of Conduct
    • Related Projects
    • History
  v: stable
Versions
latest
stable
v1.0.0
v0.9.8
v0.9.7
v0.9.6
v0.9.5
v0.9.4
v0.9.3
v0.9.2
v0.9.1
v0.9.0
v0.8.1
v0.8.0
v0.7.5
v0.7.4
v0.7.3
v0.7.2
v0.7.1
v0.7.0
v0.6.4
v0.6.3
v0.6.2
v0.6.1
v0.6.0
v0.5.0
v0.4.13
v0.4.0
v0.3.0
v0.2.1
v0.2.0
main
Downloads
On Read the Docs
Project Home
Builds
Back to top
Edit this page

Related Projects#

If requests-cache isn’t quite what you need, you can help make it better! See the Contributing Guide 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

Next
History
Previous
Code of Conduct
Made with Furo
On this page
  • Related Projects
    • General
    • Async
    • Other web frameworks
    • Testing