Skip to main content

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

uv add 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jesterky-0.1.1.tar.gz (25.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jesterky-0.1.1-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file jesterky-0.1.1.tar.gz.

File metadata

  • Download URL: jesterky-0.1.1.tar.gz
  • Upload date:
  • Size: 25.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for jesterky-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b7288ed9396ac2f911363b0dcc0430f3bc6259a7cb53e80ae36d09e8e44a6da7
MD5 45fba7916b15e50f7a978be9fa3466a9
BLAKE2b-256 7ea33768a1c67444596744e5a4081314d57500684869a7b10b19640c8186326d

See more details on using hashes here.

File details

Details for the file jesterky-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: jesterky-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for jesterky-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c4203bad3f470a35880bca8acdaed5791e36611057c940729876a295f57ed11a
MD5 43fb10ff97f2c3d60addbf71525c036d
BLAKE2b-256 5843442570ea62781fdc8f68bc12a9a0fcde55bf851b6037d12b13e4650863c9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page