Skip to main content

fourtheorem-tempo-client

Python client for the public API of Tempo, fourTheorem's high-throughput compute platform for massive-scale modelling workloads. Generated from the platform's OpenAPI specification.

Status: early development. The API surface is small and evolving, and authentication is not implemented yet — use Client; the generated AuthenticatedClient is boilerplate for a Bearer scheme the API does not support yet. Expect breaking changes until 1.0.

Install

pip install fourtheorem-tempo-client
# or
uv add fourtheorem-tempo-client

Requires Python 3.11+. Fully typed (py.typed); httpx-based, with sync and async variants for every operation.

Quickstart

from tempo_client import Client
from tempo_client.api.public import get_workload_status, health_check, submit_workload
from tempo_client.models import WorkloadSubmission

client = Client(base_url="https://your-tempo-host/api")

health_check.sync(client=client)

submitted = submit_workload.sync(
    client=client,
    body=WorkloadSubmission.from_dict(
        {
            "name": "demo",
            "jobs": [{"id": "j-1", "name": "Job 1", "work_type": "default", "predecessors": []}],
        }
    ),
)

status = get_workload_status.sync(client=client, workload_id=submitted.workload_id)
print(status.state)

Every operation also has an async variant:

status = await get_workload_status.asyncio(client=client, workload_id=submitted.workload_id)

What's covered

Workload submission (inline or via presigned uploads for large job graphs), workload lifecycle (status, cancel, delete, audit trail), job and attempt inspection, the resource-class catalog, and worker-artifact registry uploads — the full public API surface.

Documentation

The API reference (Scalar, with try-it-out) and narrative guides are served by your Tempo deployment at /docs/. The client is regenerated from the platform's OpenAPI specification on every API change, so it always matches the deployed contract.

Learn more about Tempo at fourtheorem.com/high-performance-compute, or about fourTheorem at fourtheorem.com.

License

Apache-2.0

Metadata

Release files for fourtheorem-tempo-client 0.7.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 fourtheorem-tempo-client 0.7.0
File Size Uploaded Provenance
fourtheorem_tempo_client-0.7.0.tar.gz 29.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for fourtheorem-tempo-client 0.7.0
File Interpreter ABI Platform
fourtheorem_tempo_client-0.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 99.0 kB

Release files / fourtheorem_tempo_client-0.7.0.tar.gz

Download URL fourtheorem_tempo_client-0.7.0.tar.gz
Size 29.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a42b1194ef063e9c3b1129a937e1725ba6047c72e8d9a1d9d25d438c95b14ccc
BLAKE2b-256 checksum
How to use checksums
e0eef1850b8a8628fa4ef7731e75b26153deb1c9b2c6881a88585451e9c74226
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / fourtheorem_tempo_client-0.7.0-py3-none-any.whl

Download URL fourtheorem_tempo_client-0.7.0-py3-none-any.whl
Size 70.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a8a6da16b49c3338025f62e6f3f17247597f9902da8eb7e91b5c8150b71e6750
BLAKE2b-256 checksum
How to use checksums
7c7801f4ffff6f098f3751d48c766e463c0eb11949fa46bb5a0fbbd75c56f2c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for fourtheorem-tempo-client 0.7.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