Bind MongoDB writes to the AlgoVoi keystone -- wrap any pymongo collection and every write gets a content-addressed execution_ref (keystone-only edition, Apache-2.0)
Project description
algovoi-keystone-mongo
Bind MongoDB writes to the AlgoVoi keystone -- every write on a wrapped pymongo collection 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_mongo import keystone_collection
orders = keystone_collection(db.orders, decision_ref="sha256:...")
orders.insert_one(doc)
orders.execution_ref # binds that write (scope = db.collection) to the keystone decision
Wraps write methods (insert_one/many, update_one/many, replace_one, delete_one/many, bulk_write,
find_one_and_*); reads (find, aggregate, ...) pass through untouched. A failed write is recorded
FAILED. No pymongo dependency. Or compute standalone with mongo_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_mongo-0.1.3-py3-none-any.whl.
File metadata
- Download URL: algovoi_keystone_mongo-0.1.3-py3-none-any.whl
- Upload date:
- Size: 10.0 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 |
a750860b91146699e7d876cf150fef711e4a7179673ae132dce3ee06433b8c81
|
|
| MD5 |
bffcdea62fbfd8a25cc4a59c608109c5
|
|
| BLAKE2b-256 |
56e57c9c3d9f98048184ca75ea29f221e913c60878811d94c49f50307f722281
|