This release is a pre-release and may not be stable for production use.
spize (Python SDK)
Python client for the Agent Exchange Protocol (AEX).
Install
pip install spize
Quick start
from spize import Identity, SpizeClient
# One-time: create + register an identity.
identity = Identity.generate(org="acme", name="alice")
identity.save("alice.key")
client = SpizeClient(base_url="http://localhost:8080", identity=identity)
client.register()
# Send.
transfer = client.send(
recipient="spize:acme/bob:aabbcc",
file="invoice.pdf",
declared_mime="application/pdf",
)
print(transfer.state) # 'ready_for_pickup' or 'rejected'
# Receive (as Bob).
bob = Identity.load("bob.key")
bob_client = SpizeClient(base_url="http://localhost:8080", identity=bob)
bytes_in = bob_client.download(transfer.transfer_id)
bob_client.ack(transfer.transfer_id)
Components
Identity— Ed25519 keypair + canonical agent_id derivation. Save/load to disk.SpizeClient— thin HTTP wrapper over the control plane. Handles signing + replay nonces.wire— canonical byte functions that mirrorspize_core::wireexactly; change only in lockstep.
Metadata
Release files for aex-sdk 2.0.0b1
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 | Actions |
|---|---|---|---|---|
| aex_sdk-2.0.0b1.tar.gz | 31.7 kB | Without provenance | Details for aex_sdk-2.0.0b1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aex_sdk-2.0.0b1-py3-none-any.whl | Python 3 | none | any | Details for aex_sdk-2.0.0b1-py3-none-any.whl |
Total release size: 54.5 kB
Release files / aex_sdk-2.0.0b1.tar.gz
| Download URL | aex_sdk-2.0.0b1.tar.gz |
|---|---|
| Size | 31.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0ae854be36d260c980b5d3ff75ba337dce142ac52da92815716338e8ee05ccbd
|
|
BLAKE2b-256 checksum How to use checksums |
0e66aa1a6a305356625c0fa4c90230cb54e3ba74bc8a58a9ab13cfb4aa644f3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / aex_sdk-2.0.0b1-py3-none-any.whl
| Download URL | aex_sdk-2.0.0b1-py3-none-any.whl |
|---|---|
| Size | 22.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2f0ae401fae7f8321d4146a05cf4e08541982d91e9b6f290475006f96b0a4eee
|
|
BLAKE2b-256 checksum How to use checksums |
e7e74bdb12dbbff3cae6c2119124ee7da3ab81b527aa478bfd2f95f8b503f685
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for aex-sdk 2.0.0b1
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.