Skip to main content

compose-api-client

The Python client for compose-api.

  • compose_api_client (api/, models/, client.py, types.py, errors.py, openapi.json): generated from the service's OpenAPI spec by make clients in the repository root. Never edit these by hand; make check-clients fails on drift.
  • compose_api_client.ext (session.py, credentials.py, _policy.py, errors.py): hand-written application layer (ComposeSession, AsyncComposeSession, TokenSource, destination guard, 1-renewal read replay on 401, typed ExitCode / CliError hierarchy). Base package dependencies only (attrs, httpx, python-dateutil).
  • compose_api_client.auth and compose_api_client.profiles (compose-api-client[auth]): Auth0 OAuth 2.0 / OIDC client (browser PKCE and RFC 8628 device flow), OS-keychain CredentialStore, journaled AuthSession renewal and revocation, and profile resolution (BUILTIN_PROFILES, COMPOSE_API_CLI_*, config.toml). signed_in_session() is a ComposeSession signed in as the compose-api auth login session, for programs, and async_signed_in_session() its async twin (docs/cli.md).
  • compose_api_client.cli (compose-api-client[cli]): the compose-api command-line client.
  • compose_api_client.utils.run_simulation_and_wait: the hand-written helper pbest uses (kept from 0.2.0).

Until 0.2.0 this package lived in biosimulations/compose-api-client; it was brought here with its history. See docs/cli.md and docs/plan-cli.md.

Metadata

Release files for compose-api-client 0.7.112

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

Source distribution (sdist)

Source distribution for compose-api-client 0.7.112
File Size Uploaded Provenance Actions
compose_api_client-0.7.112.tar.gz 196.2 kB With provenance Details for compose_api_client-0.7.112.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for compose-api-client 0.7.112
File Interpreter ABI Platform Actions
compose_api_client-0.7.112-py3-none-any.whl Python 3 none any Details for compose_api_client-0.7.112-py3-none-any.whl

Total release size: 585.4 kB

Release files / compose_api_client-0.7.112.tar.gz

Download URL compose_api_client-0.7.112.tar.gz
Size 196.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1f71ff43e8799eeed840e1057a7cc299906a811be7410fc6fffd1deec94e96e2
BLAKE2b-256 checksum
How to use checksums
9fef9f569f7a7ed142b18388b0c6cd29b4c6f2e1a05e0703bd6cb0dd4b5ed5a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / compose_api_client-0.7.112-py3-none-any.whl

Download URL compose_api_client-0.7.112-py3-none-any.whl
Size 389.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
95d07b8c0a8b43333eaff8dd1ccccddecfa68e483fae55fe8de7c62d2f3a86bd
BLAKE2b-256 checksum
How to use checksums
92bc3922d3be328a18e117544bcf29f18331eaaf946102b19d730b30899787ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Security for compose-api-client 0.7.112

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for compose_api_client-0.7.112.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

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.7.112 This release

2 release files Full 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