Skip to content

The Trinsic Python SDK

The Trinsic Python SDK makes it easy to interact with the Trinsic API from any Python application. The most recent version of the library can be found on PyPi. You can find the SDKs source on Github.

Installation and Configuration

  • Make sure you have the okapi native binaries installed on your machine. Default installation instructions are in the readme.md here
  • If you install to a different location for debugging, use the environment variable LD_LIBRARY_PATH, even on Windows.
  • Recommended: Create a virtual environment
  • Install the trinsic package
    pip install trinsic-sdk
    
  • Test installation by running the following shell command:

    # May be "python" or "python3" depending on your install
    python -m trinsic
    

  • The output should look something like this:

    Package successfully installed. Sample profile below
    

Next Steps

Once the SDK is installed and configured, you're ready to start building! We recommend going through the walkthrough next. If you're ready to dive into building your ecosystem, check out our API Reference

Start Walkthrough Explore API Python API Reference