Skip to main content

simforge-cloud

Synchronous, typed Python access to the SimForge Cloud /api/v1 API. Apache-2.0. Dependencies: httpx, pydantic.

Quickstart

from simforge_cloud import SimforgeClient
client = SimforgeClient(base_url="https://simforge.ai")  # SIMFORGE_API_KEY supplies auth
scenarios = list(client.scenarios.list())
scenario = scenarios[0]
plan = client.runs.create(type="noop", input={"scenarioId": scenario.id}, dry_run=True)
print(plan.jobs)
run = client.runs.create(type="noop", input={"scenarioId": scenario.id}, dry_run=False)
run = client.runs.wait(run.id, timeout=120)
artifact = next(iter(client.artifacts.list(run.id)))
client.artifacts.download(artifact.id, "./" + artifact.name)

The API key may be supplied with SIMFORGE_API_KEY instead of api_key. Pass workspace_id when using a session or credential whose workspace is not already bound.

Resources: health, me, workspaces, usage, api_keys (create returns the secret once), uploads, recordings, scenarios, maps, vehicles, datasets, runs (create, dry run, events, cancel, wait), artifacts (sha256-verified download), exports (create or estimate with dryRun, file pages, retry, cancel), drafts (create, read, transact, save, freeze revision, validate) and authoring (catalogue, capabilities, spawn, discovery). Request bodies accept a mapping or the generated request model, sent with its wire aliases. Errors raise SimforgeApiError with the envelope's code, reason, detail, path and request id.

Interactive Gymnasium episodes run locally through simforge-rl (clients/rl); the cloud API has no interactive environment endpoint.

Development

The generator emits resource modules under simforge_cloud.models; all public model names remain available from that namespace and from simforge_cloud. Input and output models use the catalogue-derived OpenAPI schema, and --check detects stale, missing or extra generated modules.

uv run --project clients/python --extra dev python -m pytest -q
uv run --project clients/python --extra dev python clients/python/scripts/generate_models.py --check
uv build clients/python

Metadata

Release files for simforge-cloud 0.1.1

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

Source distribution (sdist)

Source distribution for simforge-cloud 0.1.1
File Size Uploaded Provenance Actions
simforge_cloud-0.1.1.tar.gz 80.5 kB Without provenance Details for simforge_cloud-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for simforge-cloud 0.1.1
File Interpreter ABI Platform Actions
simforge_cloud-0.1.1-py3-none-any.whl Python 3 none any Details for simforge_cloud-0.1.1-py3-none-any.whl

Total release size: 125.6 kB

Release files / simforge_cloud-0.1.1.tar.gz

Download URL simforge_cloud-0.1.1.tar.gz
Size 80.5 kB
Tags Source
SHA-256 checksum
How to use checksums
28b0ed9bf8a2b40f801b088ddd033269247ca0698c3d0f0ff5dbda65c0f22436
BLAKE2b-256 checksum
How to use checksums
edc232cf437dfad978af66f13ac5e24fd26747af50346e59438b0a93353a81a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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":null}

Release files / simforge_cloud-0.1.1-py3-none-any.whl

Download URL simforge_cloud-0.1.1-py3-none-any.whl
Size 45.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5a6dc1ad8322febd4349a1811f52ab391adc3fca7778e10ec2025e92d65c4fc5
BLAKE2b-256 checksum
How to use checksums
7eab07d7921540969410229fc773130e5a917283050d2aff8c050837dabd5a41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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":null}

Security for simforge-cloud 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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