stepflow-py
The official Python SDK for Stepflow - an orchestration engine for AI workflows.
Installation
pip install stepflow-py
Features
- gRPC Client: Type-safe client for the Stepflow gRPC API
- Worker Module: Build component servers that extend Stepflow functionality
- Flow Builder: Programmatically create and manipulate workflows
Quick Start
Building a Worker (Component Server)
from stepflow_py.worker import StepflowServer, StepflowContext
import msgspec
class MyInput(msgspec.Struct):
message: str
class MyOutput(msgspec.Struct):
result: str
server = StepflowServer()
@server.component
async def my_component(input: MyInput, context: StepflowContext) -> MyOutput:
return MyOutput(result=f"Processed: {input.message}")
if __name__ == "__main__":
import asyncio
asyncio.run(server.run())
Documentation
For full documentation, visit stepflow.org.
License
Apache License 2.0
Metadata
Release files for stepflow-py 0.13.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stepflow_py-0.13.0.tar.gz | 158.3 kB | With provenance | Details for stepflow_py-0.13.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stepflow_py-0.13.0-py3-none-any.whl | Python 3 | none | any | Details for stepflow_py-0.13.0-py3-none-any.whl |
Total release size: 348.0 kB
Release files / stepflow_py-0.13.0.tar.gz
| Download URL | stepflow_py-0.13.0.tar.gz |
|---|---|
| Size | 158.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
31545dc8c53859a47af68da19bb7640fe09dafa06966c6fb08d6ecee4604edf6
|
|
BLAKE2b-256 checksum How to use checksums |
f0aff0310f2f35acf8debc76bbd27a3fcf59bb272c8b571af017c01c67789c46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Apr 8, 2026.
Transparency logRelease files / stepflow_py-0.13.0-py3-none-any.whl
| Download URL | stepflow_py-0.13.0-py3-none-any.whl |
|---|---|
| Size | 189.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6321be278d5900f63c02b55bb316c2ffa1a1d105a4048991f94fd6f668550a78
|
|
BLAKE2b-256 checksum How to use checksums |
90791c40e8bbaf1f77c3b4cbdca2d470756acba61bba1f25e0514182e251d540
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Apr 8, 2026.
Transparency logSecurity for stepflow-py 0.13.0
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
Both files in this release have been uploaded with provenance metadata.
Attestation for stepflow_py-0.13.0.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 Apr 8, 2026.
Transparency logA 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.