Observed since 20 Oct, 16:41 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
a3s-flow
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.
Declarations describe requirements; they are not a resolved dependency graph.
bdist_wheel · 4,075.04 KB · Python cp310
bdist_wheel · 3,881.62 KB · Python cp310
bdist_wheel · 4,301.35 KB · Python cp310
bdist_wheel · 4,220.84 KB · Python cp310
bdist_wheel · 4,397.68 KB · Python cp310
bdist_wheel · 4,568.18 KB · Python cp310
bdist_wheel · 3,769.96 KB · Python cp310
bdist_wheel · 4,074.41 KB · Python cp311
bdist_wheel · 3,882 KB · Python cp311
bdist_wheel · 4,300.69 KB · Python cp311
bdist_wheel · 4,219.85 KB · Python cp311
bdist_wheel · 4,396.84 KB · Python cp311
bdist_wheel · 4,567.68 KB · Python cp311
bdist_wheel · 3,769.65 KB · Python cp311
bdist_wheel · 4,073.07 KB · Python cp312
bdist_wheel · 3,879.62 KB · Python cp312
bdist_wheel · 4,301.64 KB · Python cp312
bdist_wheel · 4,219.82 KB · Python cp312
bdist_wheel · 4,397.12 KB · Python cp312
bdist_wheel · 4,568.5 KB · Python cp312
bdist_wheel · 3,769.82 KB · Python cp312
bdist_wheel · 4,073.19 KB · Python cp313
bdist_wheel · 3,879.71 KB · Python cp313
bdist_wheel · 4,301.9 KB · Python cp313
bdist_wheel · 4,219.81 KB · Python cp313
bdist_wheel · 4,396.78 KB · Python cp313
bdist_wheel · 4,568.32 KB · Python cp313
bdist_wheel · 3,769.66 KB · Python cp313
bdist_wheel · 4,075.25 KB · Python cp39
bdist_wheel · 3,881.65 KB · Python cp39
bdist_wheel · 4,302.06 KB · Python cp39
bdist_wheel · 4,221.13 KB · Python cp39
bdist_wheel · 4,399.21 KB · Python cp39
bdist_wheel · 4,569.66 KB · Python cp39
bdist_wheel · 3,770.05 KB · Python cp39
Observed since 20 Oct, 16:41 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:d09ed35cdcbf8fc6aaed388fb3b06d6519c59ca70da4186e6a636e6d8794dd28