Skip to main content

Bind Elasticsearch writes to the AlgoVoi keystone -- wrap any elasticsearch-py client and every index / update / delete gets a content-addressed execution_ref (keystone-only edition, Apache-2.0)

Project description

algovoi-keystone-elasticsearch

Keystone Integration

Bind Elasticsearch writes to the AlgoVoi keystone -- every index / update / delete on a wrapped client 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_elasticsearch import keystone_elasticsearch

es = keystone_elasticsearch(Elasticsearch(...), decision_ref="sha256:...")
es.index(index="orders", id="o1", document=doc)
es.execution_ref   # binds that write (scope = index/doc_id) to the keystone decision

Wraps write operations (index, create, update, delete, bulk); reads (search, get, ...) pass through untouched. A failed write is recorded FAILED. No elasticsearch dependency. Or compute standalone with es_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_elasticsearch-0.1.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (382.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

File details

Details for the file algovoi_keystone_elasticsearch-0.1.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for algovoi_keystone_elasticsearch-0.1.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 aafc4bab60322b10ab3f74d5c8bf698970c88c9fa2b83d037b033e1443354d07
MD5 e873caf735734311dca40adcac5935ff
BLAKE2b-256 2353c137ff38dbf9d53ac6ca3737273deb3ab3b4d31990ab6e05908e39bdff18

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