Execution Plane Client
Shared Pydantic command contracts, command catalog, in-memory handler registry and a generic handler protocol. No HTTP router, network client, persistence, authentication implementation or EP imports are included.
Participants register their own handlers. EP implements command submission and
resource queries; the caller handles work.execute.completed using this same
protocol. Commands have no persisted status or child history. A receipt confirms
that the domain handler returned, not that asynchronous resource work is complete.
Constructing messages
Instantiate a typed command and call to_message(); the command supplies its
wire type and revision and builds the envelope:
from uuid import uuid4
from execution_plane_client.commands.clusters import ClusterRegister
message = ClusterRegister(
resource_key=uuid4(),
desired_revision=1,
name="workers",
endpoint="https://cluster.example",
namespace="execution-plane",
credential_ref=uuid4(),
).to_message(
source_id="syntara-orchestration",
destination_id="execution-plane",
client_id="syntara-orchestration",
)
body = message.model_dump(mode="json") # Send using your application's HTTP client.
Every concrete command supports this method, including ClusterDelete,
TargetDelete and TargetHealth. Partial updates serialize only supplied fields, retaining explicit
nulls and placement discriminators without resetting omitted configuration.
By default, each call generates a command UUID and UTC timestamp; message_id
defaults to that command UUID. Keep the returned message for retries. To rebuild
it from existing domain state, pass command_id and occurred_at explicitly,
plus message_id if it differs. parent_command_id and sequence are optional;
Completion requires a parent work command UUID. Source, destination and client
scope are always supplied by the caller; the helper does not authenticate them.
Handling messages
After parsing a MessageEnvelope, validate it through the catalog and pass the
returned typed payload to the registered handler:
payload = catalog.validate(message)
handler = registry.get(message.command.command_type, message.command.command_revision)
result = await handler.handle(message, payload, context)
Handlers implement handle(message, payload, context). The catalog selects the
payload model by command type and revision, validates it and checks required
parent correlation. Handlers narrow the payload to their supported command
types without parsing the raw dictionary again. The original envelope remains
available for identity and correlation; partial-update payloads retain which
fields were supplied. Authentication, authorization and domain-state validation
(including validation after merging a patch) remain participant responsibilities.
Build with uv build src/execution_plane_client. See the service's integration
documentation for command examples and the current HTTP authentication contract.
Metadata
Release files for execution-plane-client 0.1.15
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 |
|---|---|---|---|---|
| execution_plane_client-0.1.15.tar.gz | 16.9 kB | With provenance | Details for execution_plane_client-0.1.15.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| execution_plane_client-0.1.15-py3-none-any.whl | Python 3 | none | any | Details for execution_plane_client-0.1.15-py3-none-any.whl |
Total release size: 43.5 kB
Release files / execution_plane_client-0.1.15.tar.gz
| Download URL | execution_plane_client-0.1.15.tar.gz |
|---|---|
| Size | 16.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
653062ba4c3269016890a8b41b93b62243f1066e01cf5347378ff24e889f7989
|
|
BLAKE2b-256 checksum How to use checksums |
4e25e3a8184cab4f159adf3eb26e584ab82f93e9c5956913a98ebeefb4e2b42a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logRelease files / execution_plane_client-0.1.15-py3-none-any.whl
| Download URL | execution_plane_client-0.1.15-py3-none-any.whl |
|---|---|
| Size | 26.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e9265adba37bad4886b11f941b827968f5a08128120fb39daa5415135f9a7a03
|
|
BLAKE2b-256 checksum How to use checksums |
5c43c2088ec77103c756e4f35108e31f526777c829f1e30e77e6b02450d4f4fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logSecurity for execution-plane-client 0.1.15
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for execution_plane_client-0.1.15.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logA 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.