Python contract types for the jesterky workflow substrate (client-only, generated from the pinned JSON Schema).
Project description
jesterky (Python)
Python contract types for the jesterky
workflow substrate. This package is client-only: it gives you typed,
validated request/response shapes (WorkflowSpec, RunManifest) for talking to
a jesterky host. It runs no workflows — orchestration lives in the Rust core.
The models are generated from the pinned JSON Schema emitted by the Rust
jesterky-contract crate, which is the single source of truth (ADR #1). The Rust
types define the contract; this package mirrors them for Python callers.
from jesterky import WorkflowSpec, RunManifest
spec = WorkflowSpec.model_validate_json(open("workflow.json").read())
manifest = RunManifest.model_validate_json(run_output)
Install
pip install jesterky
Regenerate
The types are codegen'd, not hand-written. After the contract changes:
./python/gen.sh # re-emits schema from Rust, regenerates spec.py + manifest.py
Licensed under MIT OR Apache-2.0.
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 Distribution
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 jesterky-0.1.0.tar.gz.
File metadata
- Download URL: jesterky-0.1.0.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f130e5c29b22f9aa787eddaa7fb90da33e28a9230d778b08a6e0c1f4625390f
|
|
| MD5 |
046e4c7c0040a4b428675582c5433302
|
|
| BLAKE2b-256 |
c380760c13243a894538f59eb9843d6bccc30f382d529c0a0cf84b96f283e26f
|
File details
Details for the file jesterky-0.1.0-py3-none-any.whl.
File metadata
- Download URL: jesterky-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9a14956a584ff19dc9ea9a67b80827881de0c3da8b7857a7cda56717d57576b
|
|
| MD5 |
0a5105c83336c013234c4893da7cb784
|
|
| BLAKE2b-256 |
af8e7bee96030c9aa949cbd919176468dc0403b392187cb582501a0b853b70b6
|