Current collected state Current
Observed since 20 Oct, 16:41 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Python bindings for A3S Flow workflow engine
Python bindings for the A3S Flow workflow engine.
pip install a3s-flow
from a3s_flow import FlowEngine
# Create a flow engine
engine = FlowEngine()
# Define a simple workflow
definition = {
"nodes": [
{"id": "start", "type": "noop"},
{"id": "process", "type": "noop"}
],
"edges": [
{"source": "start", "target": "process"}
]
}
# Start the flow
execution_id = engine.start(definition, {})
# Check the state
state = engine.state(execution_id)
print(f"Status: {state.status}")
# Pause and resume
engine.pause(execution_id)
engine.resume(execution_id)
# Terminate
engine.terminate(execution_id)
FlowEngine()Create a new flow engine with default built-in nodes.
start(definition: dict, variables: dict = None) -> strStart a new flow execution.
definition: Flow definition with "nodes" and "edges"variables: Initial variables (optional)pause(execution_id: str)Pause a running flow execution.
resume(execution_id: str)Resume a paused flow execution.
terminate(execution_id: str)Terminate a running flow execution.
state(execution_id: str) -> ExecutionStateGet the current state of a flow execution.
node_types() -> list[str]List all registered node types.
status: "running", "paused", "completed", "failed", or "terminated"result: FlowResult (only present when status is "completed")error: Error message (only present when status is "failed")execution_id: Unique ID for this execution runoutputs: Per-node outputs, keyed by node IDcompleted_nodes: IDs of all nodes that were processedskipped_nodes: IDs of nodes that were skippedcontext: Final snapshot of the shared mutable contextcd sdk/python
pip install maturin
maturin develop
pytest
MIT
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.3.4 | 11 Mar 2026 | 0 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 16:41 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:5e0e9a0409f0947c1d7e241dc75e65610fb20d7d303a0c9998c467d156c3dbbb