Skip to main content

Superposition SDK

Superposition SDK is a Python client for the Superposition platform, designed to facilitate programmatic integration of all Superposition's API capabilities in Python applications. Read the complete documentation at Superposition SDK Documentation.

Installation

Install the Superposition SDK using pip:

pip install superposition-sdk

Initialization

from superposition_sdk.client import Config, Superposition
client = Superposition(Config(endpoint_uri="http://localhost:8080"))

Usage

The SDK provides commands for every API call that Superposition supports. Below is an example of how to use the SDK to list default configs.

import asyncio
from superposition_sdk.client import Config, ListDefaultConfigsInput, Superposition
from pprint import pprint

async def list_configs():
    client = Superposition(Config(endpoint_uri="http://localhost:8080"))
    list_configs = ListDefaultConfigsInput(workspace_id="upi", org_id="orgid162145664241766405", all=True)
    response = await client.list_default_configs(list_configs)
    pprint(response)

asyncio.run(list_configs())

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

superposition_sdk-0.115.4-py3-none-any.whl (100.8 kB view details)

Uploaded Python 3

File details

Details for the file superposition_sdk-0.115.4-py3-none-any.whl.

File metadata

File hashes

Hashes for superposition_sdk-0.115.4-py3-none-any.whl
Algorithm Hash digest
SHA256 68a7b518a68bc9c07620f7e83d63ae8344b0b6b40d5e6bcf48ee2610ec03a092
MD5 5720db0a1d0de4cecec46db145d7af67
BLAKE2b-256 0b81d324b689af55742b4ea41bee58ae3c3e7246f75cd1e40fff47ab1c75651c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page