Bind SQLAlchemy ORM operations to the AlgoVoi keystone -- each persisted change gets a content-addressed execution_ref (keystone-only edition, Apache-2.0)
Project description
algovoi-keystone-sqlalchemy
Bind SQLAlchemy ORM operations to the AlgoVoi keystone -- each persisted change (insert / update / delete) gets a content-addressed execution_ref. Open, keystone-only edition, Apache-2.0. Byte-compatible with algovoi-execution-ref.
from sqlalchemy.orm import Session
from algovoi_keystone_sqlalchemy import bind_session
s = Session(engine)
bind_session(s, decision_ref="sha256:...") # registers an after_flush listener
s.add(Order(id=1)); s.flush()
s.info["keystone_executions"] # [{operation:"insert", table:"orders", execution_ref, ...}]
Or standalone: orm_execution_ref(decision_ref=..., operation="insert", table="orders", outcome="COMMITTED", executed_at_ms=...). SQLAlchemy is an optional dependency, imported only by bind_session.
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 Distributions
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_sqlalchemy-0.2.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.
File metadata
- Download URL: algovoi_keystone_sqlalchemy-0.2.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
- Upload date:
- Size: 208.0 kB
- Tags: CPython 3.13, manylinux: glibc 2.28+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69663363de271400ef24b6fd5b35737c02d61e33f999d25383ad28bab387f052
|
|
| MD5 |
f803cb9f8b71635bbf800023dbc4c350
|
|
| BLAKE2b-256 |
01c1facfdd7d0d9ae1b006d0e9842acc262f6ef89a0336874ef2f11d09cfa274
|
File details
Details for the file algovoi_keystone_sqlalchemy-0.2.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.
File metadata
- Download URL: algovoi_keystone_sqlalchemy-0.2.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
- Upload date:
- Size: 240.0 kB
- Tags: CPython 3.12, manylinux: glibc 2.28+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e3ba2aeb928750eac993812d841688ebd03fd958fc55d98fec1f39ba6236383
|
|
| MD5 |
dc473fdbf28f1361dc707994df5f37ee
|
|
| BLAKE2b-256 |
c09abbcac4d620e6490c9ad222220e100d62fc1ea44e7be9e1d1ba5b3bb870da
|
File details
Details for the file algovoi_keystone_sqlalchemy-0.2.0-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.
File metadata
- Download URL: algovoi_keystone_sqlalchemy-0.2.0-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
- Upload date:
- Size: 201.5 kB
- Tags: CPython 3.11, manylinux: glibc 2.28+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0d36b0b75e1cf93b5f345b85f2e89dcf6417454beba18715ba2bd0adca9e4a4
|
|
| MD5 |
913f2f388c66a754038f1973a8e9b2ab
|
|
| BLAKE2b-256 |
9719eda7d3f45a8aebff90849083755bf0ecb2ca80b0934a172e5cd5a2a89f29
|
File details
Details for the file algovoi_keystone_sqlalchemy-0.2.0-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.
File metadata
- Download URL: algovoi_keystone_sqlalchemy-0.2.0-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
- Upload date:
- Size: 191.4 kB
- Tags: CPython 3.10, manylinux: glibc 2.28+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99c1b799327d5a3e40a7d1bb5fc4ce87ffc53e1b5b4bf035911e8b090b723b76
|
|
| MD5 |
af70d73fb6273edc07777935044a8b6b
|
|
| BLAKE2b-256 |
faae03ed168e8c9bb892fdd4b876a3e647c433afbbee85734dc286aca920a6ed
|