algovoi-keystone-httpx
Bind outbound HTTP calls to the AlgoVoi keystone. The asgi connector binds the requests a
service receives; this one binds the calls a service makes. Wrap any sync httpx.Client or
requests.Session and every state-changing call (POST / PUT / PATCH / DELETE) is bound to the
decision_ref that authorised it, emitting a content-addressed execution_ref any party can
recompute offline:
execution_ref = "sha256:" + SHA-256(JCS({ decision_ref, action_type, scope, outcome, executed_at_ms }))
action_type is http:<method>; scope is the destination host/path (query string dropped for
stability). Outcome comes from the response status: 2xx/3xx COMMITTED, 4xx SKIPPED, 5xx/exception
FAILED. Reads (GET / HEAD / OPTIONS) pass through unbound. No httpx or requests dependency.
from algovoi_keystone_httpx import keystone_http_client
client = keystone_http_client(httpx.Client(), decision_ref=decision_ref)
client.post("https://api.partner.com/v1/pay", json=payload) # bound
ref = client.execution_ref
Records emitted on client.executions drop straight into algovoi-keystone-validate.
Keystone-only edition, Apache-2.0. Built on the AlgoVoi substrate (RFC 8785 JCS + SHA-256).
Metadata
Release files for algovoi-keystone-httpx 0.5.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 |
|---|---|---|---|---|
| algovoi_keystone_httpx-0.5.0.tar.gz | 9.9 kB | Without provenance | Details for algovoi_keystone_httpx-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| algovoi_keystone_httpx-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for algovoi_keystone_httpx-0.5.0-py3-none-any.whl |
Total release size: 19.9 kB
Release files / algovoi_keystone_httpx-0.5.0.tar.gz
| Download URL | algovoi_keystone_httpx-0.5.0.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8c1498069096422dc6ca6272a92e263678a39b24da4de89020bae591feab0fa
|
|
BLAKE2b-256 checksum How to use checksums |
6c9a2fe60073224b7e12dbf4bef375e9170300af3d3c5cd2a730b0b6253fe282
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / algovoi_keystone_httpx-0.5.0-py3-none-any.whl
| Download URL | algovoi_keystone_httpx-0.5.0-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6cdc7989686553ba9d2a1eeefe1e959508e7d0e599b5c8c9e54457f218038d99
|
|
BLAKE2b-256 checksum How to use checksums |
c31cb98228c6c6d274e301ba2d43add2821db04eae030bc2e46d822b83b71b1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Security for algovoi-keystone-httpx 0.5.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.