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())
Metadata
Release files for superposition-sdk 0.120.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| superposition_sdk-0.120.1-py3-none-any.whl | Python 3 | none | any | Details for superposition_sdk-0.120.1-py3-none-any.whl |
Release files / superposition_sdk-0.120.1-py3-none-any.whl
| Download URL | superposition_sdk-0.120.1-py3-none-any.whl |
|---|---|
| Size | 103.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ab360b0e03cdbeea7e024bad336137f0efb44976448e8e8750989aea50469ed9
|
|
BLAKE2b-256 checksum How to use checksums |
49f1a09a23d0e79a04415f70c03c0059f7118972f2643d215c67dadf0f6f0eaf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.16
|
Security for superposition-sdk 0.120.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.