Official Python SDK for S2
Powered by the gRPC API.
Install streamstore package in your virtual environment (with Python >= 3.11) using your favorite package manager. E.g., with pip:
streamstore
Python >= 3.11
pip
pip install streamstore
Generate an authentication token from the dashboard.
Open your REPL using python -m asyncio and create a basin:
python -m asyncio
from streamstore import S2 async with S2(auth_token="your_auth_token") as s2: print(await s2.create_basin("your_basin_name"))