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.
  • 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.1.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.1.0
File Size Uploaded Provenance Actions
inorbithr-0.1.0.tar.gz 37.0 kB With provenance Details for inorbithr-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 80.0 kB

Release files / inorbithr-0.1.0.tar.gz

Download URL inorbithr-0.1.0.tar.gz
Size 37.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4f96862a0df6c7f87ecb95bc2fb7e9f48504bb79bcea7c76dda988d3e3e41062
BLAKE2b-256 checksum
How to use checksums
9bc60731139b782d88eb997476bbd38061fe36a0e53a1522c279002dfbacf965
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 3, 2026.

Transparency log

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

Download URL inorbithr-0.1.0-py3-none-any.whl
Size 43.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d89ed542569aa60a0f87b4a0f03b472cca71e1e5919f5e9c386013bbd1ca82a8
BLAKE2b-256 checksum
How to use checksums
3b2ee600871ed417604dd540892c3ce6a27504b4066adb7928df4e89230afafc
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 3, 2026.

Transparency log

Security for inorbithr 0.1.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.1.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 3, 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