algovoi-cloudevents
Emit an AlgoVoi keystone decision as a CloudEvents 1.0 event. The
content-addressed execution_ref is the event id; the keystone references live in data and the
standard id / subject attributes (no invented context extension attributes, so the event stays
spec-conformant). A consumer recomputes execution_ref from data with only JCS (RFC 8785) +
SHA-256 and confirms it equals the event id.
from algovoi_cloudevents import to_cloudevent, verify_cloudevent_execution_ref
ev = to_cloudevent(decision_ref=dr, action_type="payment", scope="payments/transfer",
outcome="COMMITTED", executed_at_ms=1716460800000,
source="did:web:api.algovoi.co.uk", stage="execution")
assert verify_cloudevent_execution_ref(ev) # recompute from data, offline
Apache-2.0.
Metadata
Release files for algovoi-cloudevents 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| algovoi_cloudevents-0.1.0.tar.gz | 7.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| algovoi_cloudevents-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.8 kB
Release files / algovoi_cloudevents-0.1.0.tar.gz
| Download URL | algovoi_cloudevents-0.1.0.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fabce376596d14e6153bdc3cbc3d19425cf469fea86ebd9fa0b7b252bcc4f891
|
|
BLAKE2b-256 checksum How to use checksums |
81150e2c7774a3415d83916a02de38e8e5d9604d9adaf73f382a09681d582962
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / algovoi_cloudevents-0.1.0-py3-none-any.whl
| Download URL | algovoi_cloudevents-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd4ceb728ebaeb72e8e908adf3d7abc449b6cf07d2010513822394cad113cb08
|
|
BLAKE2b-256 checksum How to use checksums |
85d8d381cb5cdb70c0d3a65b2faeb60f2fbc0bf316bfcb0ac2247b3961c04c61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Security for algovoi-cloudevents 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.