Autoselect dogpile.cache backends
This consists of one function that tries to detect dogpile.cache backends and chooses the best one.
The function:
auto_select_backend(region_kwargs=None, between_runs=True, require_server=False, verbose=False)
Use like this:
region_kwargs: Parameters passed on to the region (dictionary).
between_runs: If True, only selects backends that persist between runs.
require_server: If True, raises an exception if no working server-backend is found (redis, memcached).
verbose: If True, prints choices that are being made.
Typically:
backend = auto_select_backend() # done
It can only detect backends that don’t need special parameters to connect to (so it has to run locally). It’s mostly for software distributed to people who’ll run it locally (if you’ve set up a big caching cluster, you can probably spare 1 more minute to configure dogpile).
Metadata
Release files for dogpile_cache_autoselect 1.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 | Actions |
|---|---|---|---|---|
| dogpile_cache_autoselect-1.0.tar.gz | 3.5 kB | Without provenance | Details for dogpile_cache_autoselect-1.0.tar.gz |
Release files / dogpile_cache_autoselect-1.0.tar.gz
| Download URL | dogpile_cache_autoselect-1.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ed896f24b34ed57fccacda9c9573d98abb59dacb97fd580aabfe75a8dd82b17
|
|
BLAKE2b-256 checksum How to use checksums |
d08819fca3d8eb131e904424eb7a83ea96de6317356116eee5cad6b9b377e99c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for dogpile_cache_autoselect 1.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.