Skip to main content

Infermion Python SDK

The official synchronous and asynchronous Python client for Infermion.

from infermion import Infermion

client = Infermion(api_token="...")
for deployment in client.deployments.list():
    print(deployment.id, deployment.status)

context = client.run.context(deployment="dep_prod")
response = client.run.chat(
    deployment="dep_prod",
    model="chat",  # served name, not a provider/model ID
    prompt="Explain tensor parallelism",
)

# Long-running tasks can be detached without changing deployment/model state.
job = client.run.submit(
    deployment="dep_prod",
    model="image",
    task="image_generation",
    input=[{"role": "user", "content": "A nebula"}],
)

The SDK never opens a browser or prompts. Use infermion login from the native infermion terminal application for interactive authentication.

Infermion and AsyncInfermion expose market/planning, account models, dedicated deployments and model lifecycle, model-aware run, endpoints, keys, connections, volumes, billing, jobs, events, extensions, and plugins. Use InferenceClient/AsyncInferenceClient with a separately scoped endpoint API key for stable endpoint data-plane calls.

Metadata

Release files for infermion 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 infermion 0.1.0
File Size Uploaded Provenance
infermion-0.1.0.tar.gz 13.9 kB With provenance Details

Built distribution (wheel)

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

Total release size: 29.1 kB

Release files / infermion-0.1.0.tar.gz

Download URL infermion-0.1.0.tar.gz
Size 13.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a26035ddbb566b1cead209ab8daea78d03416cb25e07110b2fa5c222fe6ba514
BLAKE2b-256 checksum
How to use checksums
09d043cc7473eb98576909baa358a94ba4b73eaa09600948d11d6f3e67a0369b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.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 Aug 13, 2026.

Transparency log

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

Download URL infermion-0.1.0-py3-none-any.whl
Size 15.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b46b9766db1be7ee3c376d43d7fac85f0c92638b51cbe23cb87be90757d9114
BLAKE2b-256 checksum
How to use checksums
c5f2d0a0077a0ef42eaccf2480f2cb6e78e728289c63371307f4fff11de6dd21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.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 Aug 13, 2026.

Transparency log

Security for infermion 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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for infermion-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 Aug 13, 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.

Release history Release notifications | RSS feed

This release

0.1.0 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