Implements, through hashing, decision making that is deterministic on input, but probabilistic across a set of inputs.
For example, suppose a set of components in a distributed system wish to emit a log entry for 1% of requests - but each component should log the same 1% of requests, they could do so as such:
if hashdial.decide(request.id, 0.01):
log_request(request)
Take a look at the documentation for more.
Metadata
Release files for hashdial 1.0.3
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 |
|---|---|---|---|---|
| hashdial-1.0.3.tar.gz | 3.5 kB | Without provenance | Details for hashdial-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hashdial-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for hashdial-1.0.3-py3-none-any.whl |
Total release size: 8.8 kB
Release files / hashdial-1.0.3.tar.gz
| Download URL | hashdial-1.0.3.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3461995af9330b4b359dda80e9e9d1e112ad7672237e03193913db2f4707ade
|
|
BLAKE2b-256 checksum How to use checksums |
2ad7d0a3869870724c92beddf6ccfb5510339a4590968869224d6b6767fbc16f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7
|
Release files / hashdial-1.0.3-py3-none-any.whl
| Download URL | hashdial-1.0.3-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
203558cc1288377f026f50e177ee84c147b3058bc4ac7643027980fdee7a693f
|
|
BLAKE2b-256 checksum How to use checksums |
7f3e158a7c2287298b2f268381bacbdd5a61011fddf4b286a891123a30565a78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7
|
Security for hashdial 1.0.3
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.