Skip to main content

InOrbit SDK for Python

The runtime for the InOrbit API, and its public surface, in a blocking and an asyncio form. On PyPI since 0.1.0, for Python 3.11 or later:

pip install inorbithr     # or: uv add inorbithr
from inorbithr import Public

api = Public.from_env()  # INORBIT_TOKEN, or INORBIT_KEY_ID + INORBIT_KEY_SECRET + INORBIT_SCOPES
me = api.me().value
digests = api.radar.list_digests(limit=3).value

AsyncPublic is the same on asyncio (await api.me()). examples/python holds both as programs CI type-checks.

A surface cut to what your own credentials may call comes from the command line:

iohr sdk generate --lang python --for default --out src/iohr

It writes one class per profile, blocking and asyncio, each holding only the operations its cut holds; pyright and mypy refuse a call a profile may not make.

  • Errors are one tree under InOrbitError; ApiError carries the API's code, status and typed details.
  • Idempotent calls (GET, PUT, DELETE) are retried on 429, 503, 504 and connection failures, at most twice, honouring Retry-After; writes are not.
  • 64-bit integers are int, sent as decimal strings; a message field the API left out is None; fields this version does not know are kept.
  • Every request field is optional (None by default) and left out when unset; an answer's field is optional unless the API always sends it. Timestamps stay the strings the API sent; parse_timestamp reads one, "" (unset) as None.
  • A paged list has an all_<operation> beside its page method that follows the next-page token: for d in api.radar.all_list_digests(): ..., or async for on the asyncio class; stopping the loop fetches nothing more.
  • Python 3.11 or newer; the only dependencies are httpx and pydantic 2.

How the SDKs behave in every language: docs/design.md.

Metadata

Release files for inorbithr 0.2.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 inorbithr 0.2.0
File Size Uploaded Provenance Actions
inorbithr-0.2.0.tar.gz 39.4 kB With provenance Details for inorbithr-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for inorbithr 0.2.0
File Interpreter ABI Platform Actions
inorbithr-0.2.0-py3-none-any.whl Python 3 none any Details for inorbithr-0.2.0-py3-none-any.whl

Total release size: 84.3 kB

Release files / inorbithr-0.2.0.tar.gz

Download URL inorbithr-0.2.0.tar.gz
Size 39.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2d12560f17b7edb157ffa4fe33cb032d14c4fa10ea7d8761677b8704112d2870
BLAKE2b-256 checksum
How to use checksums
11af4eecb0ad6985dbb19285e717df6f6d27b4790235a09360dea854eadf8927
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 4, 2026.

Transparency log

Release files / inorbithr-0.2.0-py3-none-any.whl

Download URL inorbithr-0.2.0-py3-none-any.whl
Size 45.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
78f196ae3cbcca2e293f18ef1d419a00c8a254a46fdd54864a9505aa97401004
BLAKE2b-256 checksum
How to use checksums
f20fab266ed5131795c2d7a067105dde1ace899c4c3640c6691b152c12598d4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 4, 2026.

Transparency log

Security for inorbithr 0.2.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.

Full provenance

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

Select from 2 files

Attestation for inorbithr-0.2.0.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 Oct 4, 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.

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