insightfactory-sdk
Async Python client for the Insight Factory REST API.
from insightfactory_sdk import ApiClient, Configuration
from insightfactory_sdk.api.tasks_api import TasksApi
config = Configuration(
host="https://your-factory.insightfactory.ai", access_token=token
)
async with ApiClient(config) as client:
tasks = await TasksApi(client).tasks_get()
Every operation is async and non-blocking, over a pooled httpx.AsyncClient.
Each also has a _sync twin for scripts and notebooks — note this builds its own
client, outside any async with block:
sync_client = ApiClient(config)
tasks = TasksApi(sync_client).tasks_get_sync()
_sync runs the coroutine on a dedicated background event loop, so it must not
be called from inside async code — await the async method there instead.
Don't mix the two on one ApiClient. The connection pool is created on the first
request and bound to whichever loop issued it, so a client used both ways binds its
pool to one loop and fails on the other — usually as an Event loop is closed far
from the call that caused it. Use a separate client for each style.
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 insightfactory_sdk-8.0.6.1.tar.gz.
File metadata
- Download URL: insightfactory_sdk-8.0.6.1.tar.gz
- Upload date:
- Size: 432.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7af96246399ee640dcc9603e4ad40148ee17cf76db8dd413ba42de1e324bc74b
|
|
| MD5 |
6a78762249ab4631c52eac60ff7819d4
|
|
| BLAKE2b-256 |
24397561d9086c5f154c7e2ef6d714d24782fb5cb90bdd14b6f134aed25e5145
|
Provenance
The following attestation bundles were made for insightfactory_sdk-8.0.6.1.tar.gz:
Publisher:
release.yml on insightfactory-ai/insightfactory-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
insightfactory_sdk-8.0.6.1.tar.gz -
Subject digest:
7af96246399ee640dcc9603e4ad40148ee17cf76db8dd413ba42de1e324bc74b - Sigstore transparency entry: 2429994726
- Sigstore integration time:
-
Permalink:
insightfactory-ai/insightfactory-sdk@f693028f749b6cc1f3d7bca89e55d4ea86cd443f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/insightfactory-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f693028f749b6cc1f3d7bca89e55d4ea86cd443f -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file insightfactory_sdk-8.0.6.1-py3-none-any.whl.
File metadata
- Download URL: insightfactory_sdk-8.0.6.1-py3-none-any.whl
- Upload date:
- Size: 730.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3498f550b712e5ece67af63452b064964616fe5aa4de7946fc9f6c0cfebd5df8
|
|
| MD5 |
396aa3fb9f41a49d0bd2d7b596f4edc9
|
|
| BLAKE2b-256 |
413fcc567f1eb66a187343a8092ef876cc4413a5ff7f60fda0da35187ea7a85b
|
Provenance
The following attestation bundles were made for insightfactory_sdk-8.0.6.1-py3-none-any.whl:
Publisher:
release.yml on insightfactory-ai/insightfactory-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
insightfactory_sdk-8.0.6.1-py3-none-any.whl -
Subject digest:
3498f550b712e5ece67af63452b064964616fe5aa4de7946fc9f6c0cfebd5df8 - Sigstore transparency entry: 2429994924
- Sigstore integration time:
-
Permalink:
insightfactory-ai/insightfactory-sdk@f693028f749b6cc1f3d7bca89e55d4ea86cd443f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/insightfactory-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f693028f749b6cc1f3d7bca89e55d4ea86cd443f -
Trigger Event:
workflow_run
-
Statement type: