# Trinsic API Python Library

[](https://github.com/trinsic-id/sdk/actions?query=branch%main)
The Trinsic API Python library provides convenient access to the Trinsic API from applications written in Python
## Documentation
See the [Trinsic docs](https://docs.trinsic.id/docs/) for more detailed information on how to start integrating with our identity acceptance network.
## Installation
Install the package with:
```sh
pip install trinsic-api
```
## Usage
The package needs to be configured with your app's access token, which is
available in the [Trinsic Dashboard](https://dashboard.trinsic.id).
```py
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](https://github.com/trinsic-id/sdk/tree/main/api-python/samples) folder.
## SDK Versioning
Our SDKs follow the [Semantic Versioning](https://semver.org) ("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](mailto:support@trinsic.id), or feel free to open a GitHub issue [here](https://github.com/trinsic-id/sdk/issues).
## More Information
- [API Reference](https://docs.trinsic.id/reference)
- [Developer Guide](https://docs.trinsic.id/docs/developer-tools)
- [Our Blog](https://trinsic.id/blog/)
- [Schedule a demo](https://trinsic.id/contact/)
Raw data
{
"_id": null,
"home_page": "https://trinsic.id",
"name": "Trinsic-Api",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "Trinsic, SDK, Identity verification",
"author": "trinsic-id",
"author_email": "support@trinsic.id",
"download_url": "https://files.pythonhosted.org/packages/bc/b9/6323e40dab4bed84640b63cbb1f7385f215751ce664ef4e6ff537d21e089/Trinsic-Api-2.1.0.tar.gz",
"platform": null,
"description": "# Trinsic API Python Library\n\n\n[](https://github.com/trinsic-id/sdk/actions?query=branch%main)\n\nThe Trinsic API Python library provides convenient access to the Trinsic API from applications written in Python\n\n## Documentation\n\nSee the [Trinsic docs](https://docs.trinsic.id/docs/) for more detailed information on how to start integrating with our identity acceptance network.\n\n## Installation\n\nInstall the package with:\n\n```sh\npip install trinsic-api\n```\n\n## Usage\n\nThe package needs to be configured with your app's access token, which is\navailable in the [Trinsic Dashboard](https://dashboard.trinsic.id).\n\n```py\nfrom trinsic_api.api_client import ApiClient\nfrom trinsic_api.api.attachments_api import AttachmentsApi\nfrom trinsic_api.api.network_api import NetworkApi\nfrom trinsic_api.api.sessions_api import SessionsApi\n\nauth_token = \"Bearer \" + \"your-access-token\"\nconfiguration = Configuration.get_default()\n# Set to true if you want debug request logging\nconfiguration.debug = False\nconfiguration.access_token = token\n\napi_client = ApiClient(configuration=configuration)\n\nattachments_api = AttachmentsApi(api_client)\nnetwork_api = NetworkApi(api_client)\nsessions_api = SessionsApi(api_client)\n```\n\nYou can find a full Python server example in the [samples](https://github.com/trinsic-id/sdk/tree/main/api-python/samples) folder.\n\n## SDK Versioning\n\nOur SDKs follow the [Semantic Versioning](https://semver.org) (\"SemVer\") scheme. \n\nFor example, the version number `1.13.0` has a major version of `1`, a minor version of `13`, and a patch version of `0`.\n\nBreaking changes are only introduced alongside a new major version.\n\n## Support\n\nAny issues, inquiries, and feature requests can be sent to [support@trinsic.id](mailto:support@trinsic.id), or feel free to open a GitHub issue [here](https://github.com/trinsic-id/sdk/issues).\n\n## More Information\n\n- [API Reference](https://docs.trinsic.id/reference)\n- [Developer Guide](https://docs.trinsic.id/docs/developer-tools)\n- [Our Blog](https://trinsic.id/blog/)\n- [Schedule a demo](https://trinsic.id/contact/)\n",
"bugtrack_url": null,
"license": null,
"summary": "Trinsic API",
"version": "2.1.0",
"project_urls": {
"Homepage": "https://trinsic.id"
},
"split_keywords": [
"trinsic",
" sdk",
" identity verification"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "a467d8dfd06a34090099bc033f9959678c725ca75eeab341f556c0794f839dec",
"md5": "de82a859ca98895a9b3f7bf02ba5e704",
"sha256": "3107ff87f7a6cc03577a7205a61edd122ebc714bec7e768b6e25762339ea458c"
},
"downloads": -1,
"filename": "Trinsic_Api-2.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "de82a859ca98895a9b3f7bf02ba5e704",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 127922,
"upload_time": "2025-08-01T19:40:09",
"upload_time_iso_8601": "2025-08-01T19:40:09.067589Z",
"url": "https://files.pythonhosted.org/packages/a4/67/d8dfd06a34090099bc033f9959678c725ca75eeab341f556c0794f839dec/Trinsic_Api-2.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "bcb96323e40dab4bed84640b63cbb1f7385f215751ce664ef4e6ff537d21e089",
"md5": "837ab65a858497f5473c6b838f76667f",
"sha256": "c93db2e57d853eb5094274cc8aefe60bb44d841ded75c4397c90b4c74b6efe44"
},
"downloads": -1,
"filename": "Trinsic-Api-2.1.0.tar.gz",
"has_sig": false,
"md5_digest": "837ab65a858497f5473c6b838f76667f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 62382,
"upload_time": "2025-08-01T19:40:10",
"upload_time_iso_8601": "2025-08-01T19:40:10.352222Z",
"url": "https://files.pythonhosted.org/packages/bc/b9/6323e40dab4bed84640b63cbb1f7385f215751ce664ef4e6ff537d21e089/Trinsic-Api-2.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-01 19:40:10",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "trinsic-api"
}