Skip to main content

CLI-backed Python SDK for stackless lifecycle verbs

Project description

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

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

stackless_sdk-0.2.2.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stackless_sdk-0.2.2-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file stackless_sdk-0.2.2.tar.gz.

File metadata

  • Download URL: stackless_sdk-0.2.2.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for stackless_sdk-0.2.2.tar.gz
Algorithm Hash digest
SHA256 a971c6baed1672a1fe3512acd38e0e93dd1ce29265cf3d366b03929b60a1f9ec
MD5 12564393b50d5d55da5b051f996d1ee1
BLAKE2b-256 a6523de419de92026c821dd1b08e29c981ba7b9ef29a665f863ab4d3a4a65235

See more details on using hashes here.

Provenance

The following attestation bundles were made for stackless_sdk-0.2.2.tar.gz:

Publisher: publish-packages.yml on snowmead/stackless

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file stackless_sdk-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: stackless_sdk-0.2.2-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

Hashes for stackless_sdk-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0de89c8afe51115e90142e44444fa442e054d3787703e26980048593370efae2
MD5 562788ccb5b3ccd7e895a4a678b8d104
BLAKE2b-256 cdc5ef5582b4e07f5eb15fd3b770620c6a3e25187279b5d2991f810dab26bdc0

See more details on using hashes here.

Provenance

The following attestation bundles were made for stackless_sdk-0.2.2-py3-none-any.whl:

Publisher: publish-packages.yml on snowmead/stackless

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page