cachecontrol-uwsgi
Backend for CacheControl using uwsgi's caching framework.
Only works inside of uWSGI (the uwsgi module must be importable), and needs a configured cache (see uWSGI's --cache2 option) to work.
For an example uWSGI setup with a working cache, see test_app.py and its integration tests inside the repository. It's a test application that doesn't use CacheControl but has a configured cache that works.
Usage
import requests
from cachecontrol import CacheControl
from cachecontrol_uwsgi import UWSGICache
cached_session = CacheControl(requests.session(), cache=UWSGICache("cache_name"))
response = cached_session.get("http://httpbin.org/status/200")
Metadata
Release files for cachecontrol-uwsgi 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| cachecontrol-uwsgi-1.0.0.tar.gz | 2.5 kB | Without provenance | Details |
Release files / cachecontrol-uwsgi-1.0.0.tar.gz
| Download URL | cachecontrol-uwsgi-1.0.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d4aceecd146c68c074b431053030d3c0841d47480452c91212239b27449f7ef
|
|
BLAKE2b-256 checksum How to use checksums |
4c4cc3c1fab2590b923fb7a3b0214c0d27800b53d47f4356b607d0f6df7f4526
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.1
|
Security for cachecontrol-uwsgi 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.