CacheControl 0.14.4
pip install CacheControl
Released:
httplib2 caching for requests
Navigation
Unverified details
These details have not been verified by PyPIMeta
-
License Expression: Apache-2.0
SPDX License Expression - Author: Eric Larson, Frost Ming, William Woodruff
- Tags requests , http , caching , web
- Requires: Python >=3.10
-
Provides-Extra:
dev,filecache,redis
Classifiers
- Development Status
- Environment
- Operating System
- Programming Language
- Topic
Project description
๐ https://github.com/psf/cachecontrol/actions/workflows/tests.yml/badge.svg
CacheControl is a port of the caching algorithms in httplib2 for use with requests session object.
It was written because httplib2โs better support for caching is often mitigated by its lack of thread safety. The same is true of requests in terms of caching.
Quickstart
importrequestsfromcachecontrolimport CacheControlsess = requests.session()cached_sess = CacheControl(sess)response = cached_sess.get('https://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
Project details
Unverified details
These details have not been verified by PyPIMeta
-
License Expression: Apache-2.0
SPDX License Expression - Author: Eric Larson, Frost Ming, William Woodruff
- Tags requests , http , caching , web
- Requires: Python >=3.10
-
Provides-Extra:
dev,filecache,redis
Classifiers
- Development Status
- Environment
- Operating System
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
File details
Details for the file cachecontrol-0.14.4.tar.gz.
File metadata
- Download URL: cachecontrol-0.14.4.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6220afafa4c22a47dd0badb319f84475d79108100d04e26e8542ef7d3ab05a1
|
|
| MD5 |
37d8306a667facb1adc47a159a3733ce
|
|
| BLAKE2b-256 |
2df6c972b32d80760fb79d6b9eeb0b3010a46b89c0b23cf6329417ff7886cd22
|
Provenance
The following attestation bundles were made for cachecontrol-0.14.4.tar.gz:
Publisher:
release.yml on psf/cachecontrol
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cachecontrol-0.14.4.tar.gz -
Subject digest:
e6220afafa4c22a47dd0badb319f84475d79108100d04e26e8542ef7d3ab05a1 - Sigstore transparency entry: 700731153
- Sigstore integration time:
-
Permalink:
psf/cachecontrol@aba0315599d7d4200074ab3606384732be7bbc25 -
Branch / Tag:
refs/tags/v0.14.4 - Owner: https://github.com/psf
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@aba0315599d7d4200074ab3606384732be7bbc25 -
Trigger Event:
release
-
Statement type:
File details
Details for the file cachecontrol-0.14.4-py3-none-any.whl.
File metadata
- Download URL: cachecontrol-0.14.4-py3-none-any.whl
- Upload date:
- Size: 22.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7ac014ff72ee199b5f8af1de29d60239954f223e948196fa3d84adaffc71d2b
|
|
| MD5 |
bddb71382f42fb8710d434bf9fd0bbbf
|
|
| BLAKE2b-256 |
ef79c45f2d53efe6ada1110cf6f9fca095e4ff47a0454444aefdde6ac4789179
|
Provenance
The following attestation bundles were made for cachecontrol-0.14.4-py3-none-any.whl:
Publisher:
release.yml on psf/cachecontrol
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cachecontrol-0.14.4-py3-none-any.whl -
Subject digest:
b7ac014ff72ee199b5f8af1de29d60239954f223e948196fa3d84adaffc71d2b - Sigstore transparency entry: 700731154
- Sigstore integration time:
-
Permalink:
psf/cachecontrol@aba0315599d7d4200074ab3606384732be7bbc25 -
Branch / Tag:
refs/tags/v0.14.4 - Owner: https://github.com/psf
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@aba0315599d7d4200074ab3606384732be7bbc25 -
Trigger Event:
release
-
Statement type:
