Skip to main content

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

Keystone Integration

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

algovoi_keystone_nats-0.1.3-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file algovoi_keystone_nats-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for algovoi_keystone_nats-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2774e1253678e4fad34784581a8da77463c7862f33791908dbc79e802100e0fc
MD5 3bea040ce305deffbdee2c850f37c64d
BLAKE2b-256 06011052709a5a9841b9d6c6a3f885c9b9b41388b1eae16bd95d7a0fe9f18f26

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page