Py-requests-cache

Jul 20, 2023

Persistent cache for python requests

requests-cache is a transparent, persistent cache that provides an easy way to get better performance with the python requests library.

Features

  • Ease of use Keep using the requests library you’re already familiar with. Add caching with a drop-in replacement for requests.Session, or install globally to add caching to all requests functions.
  • Performance Get sub-millisecond response times for cached responses. When they expire, you still save time with conditional requests.
  • Persistence Works with several storage backends including SQLite, Redis, MongoDB, and DynamoDB; or save responses as plain JSON files, YAML, and more
  • Customization Works out of the box with zero config, but with a robust set of features for configuring and extending the library to suit your needs
  • Expiration Keep your cache fresh using Cache-Control, eagerly cache everything for long-term storage, use URL patterns for selective caching, or any combination of strategies
  • Compatibility Can be combined with other popular libraries based on requests


Checkout these related ports:
  • Zope213 - Object-based web application platform Version 2.13
  • Zola - Fast static site generator
  • Zgrab2 - Fast Go application scanner
  • Zerowait-httpd - Lightweight and fast http server
  • Zenphoto - Simpler web photo gallery
  • Zend-framework - Framework for developing PHP web applications
  • Yuicompressor - The Yahoo! JavaScript and CSS Compressor
  • Ytdl - YouTube downloader written in Go
  • Yt-dlp - Command-line program for downloading videos from various platforms
  • Youtube_dl - Program for downloading videos from various services
  • Yourls - Your Own URL Shortener
  • You-get - Dumb downloader that scrapes the web
  • Yaws - Web server for dynamic content written in Erlang
  • Yarr - Yet another rss reader
  • Yarn - Package manager for node, alternative to npm (meta port)