stackless-sdk (Python)
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.
Install
pip install stackless-sdk
Editable (from this repo):
pip install -e "sdks/python[dev]"
Usage
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.
Secrets
up returns secret references scoped to the immutable instance ID. Inject
credentials into service or verify environments with ${integrations.<name>.<output>}.
The controller redacts known secrets from returned logs and errors.
Tests
cd sdks/python && python -m pytest
Named endpoint bindings are in out.endpoints. Each entry has workload,
url, and source (provider or declared). out.endpoint_urls supplies the
map accepted by generated bind_endpoints. Declared URLs are unverified.
TCP workloads return tcp://host:port; endpoint URLs do not imply HTTP support.
Resolved hosting providers are in outcome.placements.workloads and the corresponding
resources map. The top-level substrate is the default; individual workloads
and resources can select other providers with on.
Metadata
Release files for stackless-sdk 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| stackless_sdk-0.4.0.tar.gz | 7.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stackless_sdk-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.3 kB
Release files / stackless_sdk-0.4.0.tar.gz
| Download URL | stackless_sdk-0.4.0.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e09b2f58622db93a81867c4fdde7d065ef5c3f3c2ccc9d9abd1cd3f11da48445
|
|
BLAKE2b-256 checksum How to use checksums |
6f5ccd75949644b133656365a83de3405dc89595e1eed7ad1c38d3d184a07a1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.
Transparency logRelease files / stackless_sdk-0.4.0-py3-none-any.whl
| Download URL | stackless_sdk-0.4.0-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31471f08afac20d419ae3c113788afcf85b43a89843bb9fde4a4a9491e19f211
|
|
BLAKE2b-256 checksum How to use checksums |
20ae2c92622e4ed69039803210585a4f7973829332dac92049a4b74e30a0bc0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.
Transparency log