Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Trinsic API Python Library

Version Build Status

The Trinsic API Python library provides convenient access to the Trinsic API from applications written in Python

Documentation

See the Trinsic docs for more detailed information on how to start integrating with our identity acceptance network.

Installation

Install the package with:

pip install trinsic-api

Usage

The package needs to be configured with your app's access token, which is available in the Trinsic Dashboard.

from trinsic_api.api_client import ApiClient
from trinsic_api.api.attachments_api import AttachmentsApi
from trinsic_api.api.network_api import NetworkApi
from trinsic_api.api.sessions_api import SessionsApi

auth_token = "Bearer " + "your-access-token"
configuration = Configuration.get_default()
# Set to true if you want debug request logging
configuration.debug = False
configuration.access_token = token

api_client = ApiClient(configuration=configuration)

attachments_api = AttachmentsApi(api_client)
network_api = NetworkApi(api_client)
sessions_api = SessionsApi(api_client)

You can find a full Python server example in the samples folder.

Data residency

By default, the SDK communicates with https://api.trinsic.id. If you have a Verification Profile configured for EU data residency, point the SDK at the EU endpoint by setting the configuration host.

from trinsic_api.api_client import ApiClient
from trinsic_api.configuration import Configuration
from trinsic_api.api.sessions_api import SessionsApi

configuration = Configuration.get_default()
configuration.host = "https://api.eu.trinsic.id"  # omit to use the default endpoint
configuration.access_token = "your-access-token"

api_client = ApiClient(configuration=configuration)
sessions_api = SessionsApi(api_client)

SDK Versioning

Our SDKs follow the Semantic Versioning ("SemVer") scheme.

For example, the version number 1.13.0 has a major version of 1, a minor version of 13, and a patch version of 0.

Breaking changes are only introduced alongside a new major version.

Support

Any issues, inquiries, and feature requests can be sent to support@trinsic.id, or feel free to open a GitHub issue here.

More Information

Metadata

Release files for trinsic-api 3.3.0a2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for trinsic-api 3.3.0a2
File Size Uploaded Provenance Actions
trinsic_api-3.3.0a2.tar.gz 354.6 kB With provenance Details for trinsic_api-3.3.0a2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for trinsic-api 3.3.0a2
File Interpreter ABI Platform Actions
trinsic_api-3.3.0a2-py3-none-any.whl Python 3 none any Details for trinsic_api-3.3.0a2-py3-none-any.whl

Total release size: 1.0 MB

Release files / trinsic_api-3.3.0a2.tar.gz

Download URL trinsic_api-3.3.0a2.tar.gz
Size 354.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ab9b88a287538163f780066c81d7038b99edac2ef680924f68ffc43146231a6f
BLAKE2b-256 checksum
How to use checksums
e358275851de3b8fb758caee3f5d55b138911046893d1b400939faa203088df9
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 10, 2026.

Transparency log

Release files / trinsic_api-3.3.0a2-py3-none-any.whl

Download URL trinsic_api-3.3.0a2-py3-none-any.whl
Size 689.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b4f3bd548348e2c73e8e4b970cedf1ef5aa02317374b574c10f685e802c76de
BLAKE2b-256 checksum
How to use checksums
95231ddffef1b3d9c6184927481c8b957346c7d7a91a8b52d65c37642836d6b8
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 10, 2026.

Transparency log

Security for trinsic-api 3.3.0a2

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 trinsic_api-3.3.0a2.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 10, 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.

Release history Release notifications | RSS feed

This release
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