Bind NATS publishes to the AlgoVoi keystone -- wrap any nats-py connection and every publish gets a content-addressed execution_ref (keystone-only edition, Apache-2.0)
Project description
algovoi-keystone-nats
Bind NATS publishes to the AlgoVoi keystone -- every publish on a wrapped nats-py connection gets 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_nats import keystone_nats
nc = keystone_nats(connection, decision_ref="sha256:...")
await nc.publish("orders.created", payload)
nc.execution_ref # binds that publish (scope = subject) to the keystone decision
publish is awaited (NATS publishes are async); everything else (subscribe, request, jetstream,
...) passes through. A failed publish is recorded FAILED. No nats dependency. JetStream publishes
wrap the same way. Or compute standalone with nats_execution_ref(...).
A failed operation is recorded with outcome 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_nats-0.1.3-py3-none-any.whl.
File metadata
- Download URL: algovoi_keystone_nats-0.1.3-py3-none-any.whl
- Upload date:
- Size: 9.8 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 |
2774e1253678e4fad34784581a8da77463c7862f33791908dbc79e802100e0fc
|
|
| MD5 |
3bea040ce305deffbdee2c850f37c64d
|
|
| BLAKE2b-256 |
06011052709a5a9841b9d6c6a3f885c9b9b41388b1eae16bd95d7a0fe9f18f26
|