Related Projects#
If requests-cache isn’t quite what you need, you can help make it better! See the Contributing Guide for details.
For other use cases, you can check out these other python projects related to caching:
Client-side HTTP caching#
aiohttp-client-cache: An async HTTP cache for
aiohttp
, based onrequests-cache
CacheControl: An HTTP cache that ports features from
httplib2
for usage withrequests
Hishel: A sync+async HTTP cache for
httpx
Server-side HTTP caching#
aiohttp-cache: A server-side async HTTP cache for the
aiohttp
web serverfastapi-cache: A server-side async HTTP cache for applications build with FastAPI
flask-caching: A server-side HTTP cache for applications built with Flask
General#
Testing#
requests-mock: A
requests
transport adapter that mocks HTTP responsesresponses: A utility for mocking out the
requests
libraryvcrpy: 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; 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 byresponses
aresponses: An asyncio testing server for mocking external services