Python SDK for stackless. Published as
stackless-sdk on PyPI
(import stackless). Speaks the JSON protocol
(../PROTOCOL.md) via the stackless CLI.
The PyPI distribution is stackless-sdk; the import package remains
stackless.
pip install stackless-sdkEditable (from this repo):
pip install -e "sdks/python[dev]"from stackless import Client, Create, Resume
client = Client.system()
out = client.up(Create(on="local", file="stackless.toml", name="demo"))
print(out.origins["web"])
print(out.integrations.get("clerk", {}))
client.down("demo")Binary resolution: STACKLESS_BIN, then stackless on PATH.
Successful up --json stdout may include integration credentials. Do not log raw
JSON in CI without redaction.
cd sdks/python && python -m pytest