PYPI PACKAGE AUDIT v0.7.102 Healthy Package

compose-api-client

Python client for compose-api: generated from its OpenAPI spec, plus a hand-written application layer

PyPkgScore compose-api-client
Methodology & Criteria ♥ Donate
770 / 1000
Quick Install
pip install compose-api-client
1. Governance
100/200
2. PEP Metadata
150/200
3. Security
200/200
4. Docs & SEO
155/200
5. CI Engineering
165/200
📣 Share Audit: Share this report and visual preview in the current language
Advertisement
PYPI TELEMETRY

Downloads & Community Adoption

Last 30 days (without mirrors)
Last 7 days
5804
Last 30 days
7362
Total (180 days)
9552
Metric / Ecosystem Status / Value Source
Downloads (30d / 180d) — PyPI Stats (without mirrors)
Trusted Publishing (PEP 740) ✓ Verified OIDC PyPI Integrity / Sigstore
Django Packages — djangopackages.org
PyTech / PyPkgScore 770 / 1000 PyPkgScore Engine

Health & Engineering Analysis (5 Pillars)

1. Governance & Community100 / 200 ▾
LICENSE✓ 50 pts
SECURITY.md✕ 0 pts
CONTRIBUTING.md✓ 50 pts
CODE_OF_CONDUCT.md✕ 0 pts
2. PEP Metadata & Packaging150 / 200 ▾
Wheel (.whl)✓ 50 pts
pyproject.toml✓ 50 pts
Project URLs✓ 50 pts
Trove Classifiers✕ 0 pts
3. Security & Supply Chain200 / 200 ▾
Zero CVEs (OSV)✓ 60 pts
Trusted Publishing (OIDC)✓ 50 pts
Snyk / Audit Link✓ 40 pts
HTTPS Repository✓ 50 pts
4. Documentation, SEO & Ecosystem155 / 200 ▾
Structured README✓ 60 pts
Read the Docs✓ 50 pts
Django Packages✕ 0 pts
Website / Technical Articles✓ 45 pts
5. Engineering, CI & Quality165 / 200 ▾
Automated Tests✓ 65 pts
GitHub Actions CI✓ 65 pts
CHANGELOG.md✕ 0 pts
Env & Lockfile (uv/rye/poetry/pdm/hatch)✓ 35 pts
Advertisement
README & DOCS

Official Documentation & Usage Guide — compose-api-client

PyPI Metadata v0.7.102
Show full original documentation (English README) ▾

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.