CacheYou
CacheYou is a fork of CacheControl which is a port of the caching algorithms in httplib2 for use with requests session object.
Quickstart
import requests
from cacheyou import CacheControl
sess = requests.session()
cached_sess = CacheControl(sess)
response = cached_sess.get('http://google.com')
If the URL contains any caching based headers, it will cache the result in a simple dictionary.
For more info, check out the docs
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cacheyou-23.3.tar.gz
(43.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
cacheyou-23.3-py3-none-any.whl
(22.0 kB
view details)
File details
Details for the file cacheyou-23.3.tar.gz.
File metadata
- Download URL: cacheyou-23.3.tar.gz
- Upload date:
- Size: 43.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
pdm/2.6.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e408f15f4978fea2247734b308621f75f7fe169b461679519c72e8a85d61d5d
|
|
| MD5 |
1fa21b2d3b8a547f77d1ee6a8a421fdd
|
|
| BLAKE2b-256 |
8e6e8a9d13f938789b29e89b78cfeb9d0a9e002c67272ead73060c8306b74fc8
|
File details
Details for the file cacheyou-23.3-py3-none-any.whl.
File metadata
- Download URL: cacheyou-23.3-py3-none-any.whl
- Upload date:
- Size: 22.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
pdm/2.6.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eeed1d071495ed59be0049c3897a4c3c056c4b30f751b3197b823c518bcac604
|
|
| MD5 |
0725f7d02d8e002b28576d27d2441df5
|
|
| BLAKE2b-256 |
41e11864f74d5ea8edfe4e217ce6cf81d04989b32ef949487b289753227a64af
|