Tensoract Python SDK
The official Python client for the Tensoract Public API.
Installation
pip install tensoract-sdk
For local development from source:
pip install -e ./sdks/python
Authentication
1. API Key Authentication (x-api-key)
from tensoract_client import TensoractClient
# Defaults to production API (https://fmn.tensoract.com:8443)
client = TensoractClient(
api_key="fmn_live_xxxxxxxxxxxxxxxxxxxx",
)
users = client.users.list()
To target a custom or self-hosted deployment:
client = TensoractClient(
api_key="fmn_live_xxxxxxxxxxxxxxxxxxxx",
base_url="https://fmn.tensoract.com:8443",
)
2. PAT Bearer Token Authentication
from tensoract_client import TensoractClient
client = TensoractClient(
token="fmn_live_xxxxxxxxxxxxxxxxxxxx",
)
user = client.users.get(1)
Usage Examples
Users API
# Create a user (expects 'name' and 'roles' array, not firstName/lastName/role)
new_user = client.users.create({
"name": "Alice Annotator",
"email": "alice@company.com",
"password": "TemporaryPassword123!",
"roles": ["ANNOTATOR"],
})
# List users
users = client.users.list(page=1, limit=10)
# Get a user
user = client.users.get(new_user["id"])
Metadata
Release files for tensoract-sdk 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tensoract_sdk-1.0.1.tar.gz | 9.7 kB | With provenance | Details for tensoract_sdk-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tensoract_sdk-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for tensoract_sdk-1.0.1-py3-none-any.whl |
Total release size: 19.3 kB
Release files / tensoract_sdk-1.0.1.tar.gz
| Download URL | tensoract_sdk-1.0.1.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3fc02992b7d7a9cb28d3d3a5ed9154b156af888c2a0360a4d385938afc167c10
|
|
BLAKE2b-256 checksum How to use checksums |
7917e45dd17fb60dcb6a6a040954680327bebb752aa5b8782f4422fcd2f78049
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 27, 2026.
Transparency logRelease files / tensoract_sdk-1.0.1-py3-none-any.whl
| Download URL | tensoract_sdk-1.0.1-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
912852cb86e7a2f471b5b4ca69a5f7796ffe3c1390c757ce2c741c43de9729e5
|
|
BLAKE2b-256 checksum How to use checksums |
402682cf36588551d1ccf806034a368482eaf461263bd41ecf77f0ca9567790a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 27, 2026.
Transparency logSecurity for tensoract-sdk 1.0.1
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.
Attestation for tensoract_sdk-1.0.1.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 Nov 27, 2026.
Transparency logA 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.