SDK

How to install and authenticate the SUPERWISE Python SDK

Using SUPERWISE® SDK

The SUPERWISE® SDK is a standard Python package that simplifies the integration with SUPERWISE and streams data to the SUPERWISE Agentic Management Platform (AMP). It is published on PyPI as superwise-api and imported as superwise_api.

Python SDK Reference Guide

You can find more information about each function and method in our Python SDK reference guide.

Pre-requisites

These match the current release on PyPI, superwise-api 4.20.0:

  • Python 3.10 or later (below 4.0)
  • pydantic 2.10.4 or later (below 3.0), installed with the SDK
Installation
pip install superwise-api
📘

Environment variables

There are 2 environment variables used to identify and authenticate your connection:

SUPERWISE_CLIENT_ID
SUPERWISE_CLIENT_SECRET
Read how to generate tokens.

import os  
from superwise_api.superwise_client import SuperwiseClient

os.environ['SUPERWISE_CLIENT_ID'] = 'REPLACE_WITH_YOUR_CLIENT'  
os.environ['SUPERWISE_CLIENT_SECRET'] = 'REPLACE_WITH_YOUR_SECRET'

sw = SuperwiseClient()

You're all set to begin working with our SDK! Dive into the SDK documentation to discover more and enhance your experience.


What’s Next

Did this page help you?