Skip to main content

StackGen Python SDK

Install (PyPI):

pip install stackgen-sdk==0.1.1

Developers with private repo access:

pip install "git+ssh://git@github.com/appcd-dev/stackgen-sdk.git@v0.1.1#subdirectory=clients/python"

Quick start:

from stackgen import StackgenClient

client = StackgenClient.from_env()
result = client.aiden.run_webhook_and_download_report(open("alert.json").read())
print(result.session_id, result.output_path)

alerts = client.sre.list_alerts()

Environment:

Variable Purpose
STACKGEN_URL Mothership URL (no /guild)
STACKGEN_TOKEN API token (stackgen_…)
WEBHOOK_TOKEN Webhook token (sg_aios_…) for triggers
ORG_ID Organization UUID
WEBHOOK_ID Optional; older trigger 202 bodies

See docs/PRODUCT.md, docs/python/IMPLEMENTATION.md, and docs/PUBLISH.md.

Generated OpenAPI client code lives under stackgen.generated (unstable; prefer StackgenClient).

Metadata

Release files for stackgen-sdk 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stackgen-sdk 0.1.1
File Size Uploaded Provenance
stackgen_sdk-0.1.1.tar.gz 51.4 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for stackgen-sdk 0.1.1
File Interpreter ABI Platform
stackgen_sdk-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 156.6 kB

Release files / stackgen_sdk-0.1.1.tar.gz

Download URL stackgen_sdk-0.1.1.tar.gz
Size 51.4 kB
Tags Source
SHA-256 checksum
How to use checksums
17535fa51ff3ceea9143ab4c31729475d0188e202c2ce38a3950376bb6b8b2c1
BLAKE2b-256 checksum
How to use checksums
2429eee9723e8153e7f15444c3945f5ae23fb8f135fdb7cddb1d672f741650ce
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 Aug 25, 2026.

Transparency log

Release files / stackgen_sdk-0.1.1-py3-none-any.whl

Download URL stackgen_sdk-0.1.1-py3-none-any.whl
Size 105.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b83eae142c93afa55605fe2278935422ae25e1cb1bf2ccbc94ae0a8e82e28c5
BLAKE2b-256 checksum
How to use checksums
2da99baab703fddd3edde821fc8b338dc2f4af5e58ea8554c5db97c83f1552c4
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 Aug 25, 2026.

Transparency log

Security for stackgen-sdk 0.1.1

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for stackgen_sdk-0.1.1.tar.gz

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 Aug 25, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page