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", "baz", "qux.jsonl", "quux")
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, model_id, batch_file, bucket, ...) |
Upload a Bedrock batch file and trigger an inference run, returns its ID |
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.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| londonaicentre_mesa_runtime-0.1.0.tar.gz | 5.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| londonaicentre_mesa_runtime-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.1 kB
Release files / londonaicentre_mesa_runtime-0.1.0.tar.gz
| Download URL | londonaicentre_mesa_runtime-0.1.0.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2434cd4b0f16e67436e92b311eba57cfe3562fb2d31fb6bf05c0b2791c813507
|
|
BLAKE2b-256 checksum How to use checksums |
91f581e8fd4aff34c864f40e6b22b6ed042065c325a51c47dbf0a309a65f89ae
|
| 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.1.0-py3-none-any.whl
| Download URL | londonaicentre_mesa_runtime-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2003e9394af60d64693a84c65a4bf8b5c2447d7af3c115438a07ecb949a441ee
|
|
BLAKE2b-256 checksum How to use checksums |
2afb539fcf26d12ae351c644df9daccaff570bfbb540c819799df2a11a5a057a
|
| 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}
|