CLI-backed Python SDK for stackless lifecycle verbs
Project description
stackless-sdk (Python)
CLI-backed SDK for stackless. Spawns the
stackless binary with --json and parses stdout envelopes (see
../PROTOCOL.md).
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
Successful up --json stdout may include integration credentials. Do not log raw
JSON in CI without redaction.
Tests
cd sdks/python && python -m pytest
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stackless_sdk-0.1.71.tar.gz.
File metadata
- Download URL: stackless_sdk-0.1.71.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3bac811cbebfec5d62656631a7006ae447f4e95b3a7d40059f43e4191ca26a0
|
|
| MD5 |
1dcc62c88abeddb357f26b4c38091509
|
|
| BLAKE2b-256 |
40c6fc56bcf103702c23648c066fa78c7493775f766562bad1bc346f9eb8d367
|
Provenance
The following attestation bundles were made for stackless_sdk-0.1.71.tar.gz:
Publisher:
publish-packages.yml on snowmead/stackless
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stackless_sdk-0.1.71.tar.gz -
Subject digest:
a3bac811cbebfec5d62656631a7006ae447f4e95b3a7d40059f43e4191ca26a0 - Sigstore transparency entry: 2287095803
- Sigstore integration time:
-
Permalink:
snowmead/stackless@7a80839663553768c485d573eb9d14b0be4303c3 -
Branch / Tag:
refs/tags/v0.1.71 - Owner: https://github.com/snowmead
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-packages.yml@7a80839663553768c485d573eb9d14b0be4303c3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file stackless_sdk-0.1.71-py3-none-any.whl.
File metadata
- Download URL: stackless_sdk-0.1.71-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9b7a61012a11843f2cee9e0da6789d2e599baadf7907256b41843aa32e80e95
|
|
| MD5 |
165eff424d520361d33dc591c2ce958b
|
|
| BLAKE2b-256 |
c2593a8f5c4e6b748037cfd19273e6c3e3408a140113e1ff17f7a9cd46b9d8e9
|
Provenance
The following attestation bundles were made for stackless_sdk-0.1.71-py3-none-any.whl:
Publisher:
publish-packages.yml on snowmead/stackless
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stackless_sdk-0.1.71-py3-none-any.whl -
Subject digest:
e9b7a61012a11843f2cee9e0da6789d2e599baadf7907256b41843aa32e80e95 - Sigstore transparency entry: 2287095819
- Sigstore integration time:
-
Permalink:
snowmead/stackless@7a80839663553768c485d573eb9d14b0be4303c3 -
Branch / Tag:
refs/tags/v0.1.71 - Owner: https://github.com/snowmead
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-packages.yml@7a80839663553768c485d573eb9d14b0be4303c3 -
Trigger Event:
push
-
Statement type: