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.3.0.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.3.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: stackless_sdk-0.3.0.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.3.0.tar.gz
Algorithm Hash digest
SHA256 3f1d3c058e62bcaf3606a03627121070325ed35ae055e081edfa7bfdf0daa2d3
MD5 315b138f5739167ec93a38a82863a1bf
BLAKE2b-256 b8a88bdfb0d79c25d45c96483467c13eb88c888c2fb152e61cab94868ef34b6a

See more details on using hashes here.

Provenance

The following attestation bundles were made for stackless_sdk-0.3.0.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.3.0-py3-none-any.whl.

File metadata

  • Download URL: stackless_sdk-0.3.0-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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d5a9beb8f1195b7d21ada7775e1e4bc64469a1b136585564038c3b0f474b5a8a
MD5 5f9046a05ab068e3b0b21a5022a1e229
BLAKE2b-256 ad57209253d151dadbd1ed75d0f5c7440737f41a52af4edc18a7958305797c6a

See more details on using hashes here.

Provenance

The following attestation bundles were made for stackless_sdk-0.3.0-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