Skip to main content
Status: Python template in 0.1.0Stoffel 0.1.0 includes stoffel init --template python for Python-oriented project structure. The Rust SDK is the executable application API for this release; use the Python template to organize a project around a Stoffel program while Python package APIs are being designed and validated.

What exists today

The CLI can scaffold a Python-oriented project:
The template includes a Python package scaffold plus a nested Stoffel program directory. Use the generated README.md, pyproject.toml, and stoffel/Stoffel.toml as the source of truth for the exact files created by your installed CLI. You can still use the Stoffel CLI against the nested Stoffel program:
For executable applications today, use one of these paths:
  1. Rust SDK: Rust SDK Overview
  2. CLI project flow: Quick Start
  3. Python scaffold for integration planning while the Python package matures
The Rust SDK currently provides compile/load/run builders, clear execution, local MPC execution, network configuration types, client/server types, observability helpers, and coordinator handles.

Python package direction

Python package APIs should wrap the same core concepts exposed by the CLI and Rust SDK:
  • program compilation/loading
  • named inputs and client-slot inputs
  • local execution and local MPC development
  • network client configuration
  • explicit public/secret input boundaries
For 0.1.0, Python package snippets are design-oriented; use the Python template for project structure and the Rust SDK for executable flows.

Next steps