Bind gRPC unary calls to the AlgoVoi keystone -- a server interceptor gives every call a content-addressed execution_ref (keystone-only edition, Apache-2.0)
Project description
algovoi-keystone-grpc
Bind gRPC unary calls to the AlgoVoi keystone -- a server interceptor gives every call a content-addressed execution_ref. Open, keystone-only edition, Apache-2.0. Byte-compatible with algovoi-execution-ref.
Available on request -- see https://docs.algovoi.co.uk/keystone-connectors
from algovoi_keystone_grpc import keystone_server_interceptor
server = grpc.server(executor, interceptors=[keystone_server_interceptor(on_execution=record)])
# each unary call carrying x-keystone-decision-ref metadata is bound to an execution_ref;
# the outcome is COMMITTED, or FAILED if the handler raises.
The decision_ref comes from call metadata (default x-keystone-decision-ref), a static value,
or a resolver callable. keystone_unary_handler(...) wraps a single behaviour with no gRPC
dependency; rpc_execution_ref(...) computes the ref standalone. Streaming handlers pass through
unbound.
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_grpc-0.1.3-py3-none-any.whl.
File metadata
- Download URL: algovoi_keystone_grpc-0.1.3-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65409027535b559c702c357a3044744da7fd110ff994f84fb34cca0a76398018
|
|
| MD5 |
5ab7ee7b4ae4b3f771667dc440a5d397
|
|
| BLAKE2b-256 |
f6c013971163f3e410a311643ed19364bd143e9e0fd0a124dea4225ebad440b2
|