Bind HTTP requests to the AlgoVoi keystone -- ASGI + WSGI middleware that gives every state-changing request a content-addressed execution_ref (keystone-only edition, Apache-2.0)
Project description
algovoi-keystone-asgi
Bind HTTP requests to the AlgoVoi keystone -- one ASGI/WSGI middleware gives every state-changing request a content-addressed execution_ref. Open, keystone-only edition, Apache-2.0. Byte-compatible with algovoi-execution-ref.
from algovoi_keystone_asgi import KeystoneASGIMiddleware
app = KeystoneASGIMiddleware(app, on_execution=record) # FastAPI / Starlette / any ASGI app
# POST/PUT/PATCH/DELETE carrying x-keystone-decision-ref are bound to an execution_ref;
# outcome is derived from the response status (2xx/3xx COMMITTED, 4xx SKIPPED, 5xx FAILED).
KeystoneWSGIMiddleware is the WSGI twin (Flask, Django, ...). The decision_ref can come from a
header (default x-keystone-decision-ref), a static value, or a resolver callable. No framework
dependency -- pure ASGI/WSGI.
A rejected or failed operation is recorded with outcome SKIPPED / FAILED; tamper_detected(...)
recomputes any binding offline.
Keystone-only edition
The open edition binds and verifies each operation. The signed, hash-linked chain of operations (PQC + CCC ingest) is the commercial tier.
License
Apache-2.0. Copyright AlgoVoi.
Project details
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 Distributions
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 algovoi_keystone_asgi-0.1.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.
File metadata
- Download URL: algovoi_keystone_asgi-0.1.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
- Upload date:
- Size: 527.1 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2341ce700c5f5fc6b0fca882b2d2b49b47917a7f783cd5c567e863df7f23377
|
|
| MD5 |
ac8043dfea6f2f486ed77313abe3d34a
|
|
| BLAKE2b-256 |
7c79572b8a273ebd0aa236eccbea57f46750a958a6650c5d0cccc5ec983d949c
|