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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file infermion-0.1.0.tar.gz.
File metadata
- Download URL: infermion-0.1.0.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a26035ddbb566b1cead209ab8daea78d03416cb25e07110b2fa5c222fe6ba514
|
|
| MD5 |
54fda7b77665512cff459e59dbecef4c
|
|
| BLAKE2b-256 |
09d043cc7473eb98576909baa358a94ba4b73eaa09600948d11d6f3e67a0369b
|
Provenance
The following attestation bundles were made for infermion-0.1.0.tar.gz:
Publisher:
python-sdk-release.yml on infermion/infermion
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
infermion-0.1.0.tar.gz -
Subject digest:
a26035ddbb566b1cead209ab8daea78d03416cb25e07110b2fa5c222fe6ba514 - Sigstore transparency entry: 2450762494
- Sigstore integration time:
-
Permalink:
infermion/infermion@c3824977bcf72c86b67e3b91dda9f1d3cf2c70c5 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/infermion
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-sdk-release.yml@c3824977bcf72c86b67e3b91dda9f1d3cf2c70c5 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file infermion-0.1.0-py3-none-any.whl.
File metadata
- Download URL: infermion-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b46b9766db1be7ee3c376d43d7fac85f0c92638b51cbe23cb87be90757d9114
|
|
| MD5 |
cb2dd332dd245789396dcbad3c982b3a
|
|
| BLAKE2b-256 |
c5f2d0a0077a0ef42eaccf2480f2cb6e78e728289c63371307f4fff11de6dd21
|
Provenance
The following attestation bundles were made for infermion-0.1.0-py3-none-any.whl:
Publisher:
python-sdk-release.yml on infermion/infermion
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
infermion-0.1.0-py3-none-any.whl -
Subject digest:
9b46b9766db1be7ee3c376d43d7fac85f0c92638b51cbe23cb87be90757d9114 - Sigstore transparency entry: 2450762728
- Sigstore integration time:
-
Permalink:
infermion/infermion@c3824977bcf72c86b67e3b91dda9f1d3cf2c70c5 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/infermion
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-sdk-release.yml@c3824977bcf72c86b67e3b91dda9f1d3cf2c70c5 -
Trigger Event:
workflow_dispatch
-
Statement type: