Skip to main content
Python integration starts with the CLI template.Install the stoffel CLI, then use its Python template to scaffold your project. Use the Rust SDK when your app needs execution APIs.

Prerequisites

Install the CLI first:
Verify the Python template is available:
The help output should list python (py) among the supported templates.

Create a Python scaffold

Inspect the generated README and manifests:
Run the nested Stoffel program with the CLI:
If your generated program expects different inputs, follow that template’s README.md or stoffel/src/program.stfl.

Python package status

Stoffel 0.1.0 provides a CLI Python template rather than a Python SDK package. Use the CLI for scaffolding and the Rust SDK when your app needs execution APIs.

Next steps