Skip to main content

mesa-runtime/lib

A thin, programmatic wrapper around CI in this repo comprising a simple backend and a library that communicates with it.

Usage

from mesa_runtime import MesaRuntime

client = MesaRuntime("https://example.cloudfront.net", "username", "password")

run_id = client.dispatch("batch-2026-01", "foo", "onco")
print(client.get_run(run_id))

Batch inference uploads the batch file with the caller's AWS credentials:

run_id = client.run_batch_inference("foo/bar", "qux.jsonl", "quux", "baz")
print(client.get_inference_run(run_id))

API

Method Description
list_training_data() List available training data objects from S3
dispatch(training_batch_name, model_name, schema, ...) Trigger a workflow run, returns its ID
get_run(run_id) Fetch a single run by ID
list_runs() List the ten most recent runs
list_queued_runs() List all pending runs
cancel(run_id) Cancel a run
get_logs(run_id, ...) Fetch step logs for a run
get_step_inputs(run_id) Extract dispatch inputs from step env vars
get_runner_status() Get runner online/busy status
run_batch_inference(job_id, batch_file, bucket, model_id, ...) Upload a Bedrock batch file and trigger an inference run, returns its ID (omit model_id to split across every endpoint model; pass schema_name and schema_version to name the output schema)
get_inference_run(run_id) Fetch a single inference run by ID
list_inference_runs() List the ten most recent inference runs
cancel_inference(run_id) Cancel an inference run
get_inference_logs(run_id, ...) Fetch step logs for an inference run

Metadata

Release files for londonaicentre-mesa-runtime 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for londonaicentre-mesa-runtime 0.5.0
File Size Uploaded Provenance Actions
londonaicentre_mesa_runtime-0.5.0.tar.gz 5.7 kB Without provenance Details for londonaicentre_mesa_runtime-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for londonaicentre-mesa-runtime 0.5.0
File Interpreter ABI Platform Actions
londonaicentre_mesa_runtime-0.5.0-py3-none-any.whl Python 3 none any Details for londonaicentre_mesa_runtime-0.5.0-py3-none-any.whl

Total release size: 12.5 kB

Release files / londonaicentre_mesa_runtime-0.5.0.tar.gz

Download URL londonaicentre_mesa_runtime-0.5.0.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1946c5e61ed1da6591b6290fe27dcc6863d539aff23c5062c75375a867ced4b2
BLAKE2b-256 checksum
How to use checksums
af873421d8969e24f1966f8596e796313c834efde4f41872b17574e87fb02a08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Amazon Linux","version":"2023","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / londonaicentre_mesa_runtime-0.5.0-py3-none-any.whl

Download URL londonaicentre_mesa_runtime-0.5.0-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
423c1daad83a94f6915ca2868efbf75e8a675e5716273f04396f0b897123ecdd
BLAKE2b-256 checksum
How to use checksums
ce7daa1155a24bc55f11447a79ceef805b76835bf2c4b93f108077b3e464879e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Amazon Linux","version":"2023","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for londonaicentre-mesa-runtime 0.5.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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page