# Python library
The Trusted Twin Python library makes it easy to use the Trusted Twin user infrastructure API in Python applications.
The Trusted Twin Python library requires Python 3.6 or above.
You can install the Trusted Twin Python library using the pip package manager for Python:
Alternatively, you can install the Trusted Twin Python library from source:
On the Trusted Twin platform, User authentication is based on User Secrets:
- If you have a User Secret PIN, you can generate a User Secret (see documentation about the create_user_secret endpoint for more details):
- If you have a User Secret, use it to authenticate REST requests:
For more information, please see the Trusted Twin Python Client (opens new window) GitLab repository.