Catalog PyPI
Back to packageRELEASE DETAILS

0.3.4

PyPI

a3s-flow

Python bindings for A3S Flow workflow engine

agentaiautomationdagworkflow
Published11 Mar 2026
Direct dependencies0
Transitive dependenciesNot calculated

README

Version 0.3.4 documentation

A3S Flow Python SDK

Python bindings for the A3S Flow workflow engine.

Installation

pip install a3s-flow

Quick Start

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)

API Reference

FlowEngine

FlowEngine()

Create a new flow engine with default built-in nodes.

start(definition: dict, variables: dict = None) -> str

Start a new flow execution.

  • definition: Flow definition with "nodes" and "edges"
  • variables: Initial variables (optional)
  • Returns: Execution ID as a string

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) -> ExecutionState

Get the current state of a flow execution.

node_types() -> list[str]

List all registered node types.

ExecutionState

  • status: "running", "paused", "completed", "failed", or "terminated"
  • result: FlowResult (only present when status is "completed")
  • error: Error message (only present when status is "failed")

FlowResult

  • execution_id: Unique ID for this execution run
  • outputs: Per-node outputs, keyed by node ID
  • completed_nodes: IDs of all nodes that were processed
  • skipped_nodes: IDs of nodes that were skipped
  • context: Final snapshot of the shared mutable context

Development

Build from source

cd sdk/python
pip install maturin
maturin develop

Run tests

pytest

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

35 collected
a3s_flow-0.3.4-cp310-cp310-macosx_10_12_x86_64.whl

bdist_wheel · 4,075.04 KB · Python cp310

Source file
a3s_flow-0.3.4-cp310-cp310-macosx_11_0_arm64.whl

bdist_wheel · 3,881.62 KB · Python cp310

Source file
a3s_flow-0.3.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

bdist_wheel · 4,301.35 KB · Python cp310

Source file
a3s_flow-0.3.4-cp310-cp310-manylinux_2_28_aarch64.whl

bdist_wheel · 4,220.84 KB · Python cp310

Source file
a3s_flow-0.3.4-cp310-cp310-musllinux_1_2_aarch64.whl

bdist_wheel · 4,397.68 KB · Python cp310

Source file
a3s_flow-0.3.4-cp310-cp310-musllinux_1_2_x86_64.whl

bdist_wheel · 4,568.18 KB · Python cp310

Source file
a3s_flow-0.3.4-cp310-cp310-win_amd64.whl

bdist_wheel · 3,769.96 KB · Python cp310

Source file
a3s_flow-0.3.4-cp311-cp311-macosx_10_12_x86_64.whl

bdist_wheel · 4,074.41 KB · Python cp311

Source file
a3s_flow-0.3.4-cp311-cp311-macosx_11_0_arm64.whl

bdist_wheel · 3,882 KB · Python cp311

Source file
a3s_flow-0.3.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

bdist_wheel · 4,300.69 KB · Python cp311

Source file
a3s_flow-0.3.4-cp311-cp311-manylinux_2_28_aarch64.whl

bdist_wheel · 4,219.85 KB · Python cp311

Source file
a3s_flow-0.3.4-cp311-cp311-musllinux_1_2_aarch64.whl

bdist_wheel · 4,396.84 KB · Python cp311

Source file
a3s_flow-0.3.4-cp311-cp311-musllinux_1_2_x86_64.whl

bdist_wheel · 4,567.68 KB · Python cp311

Source file
a3s_flow-0.3.4-cp311-cp311-win_amd64.whl

bdist_wheel · 3,769.65 KB · Python cp311

Source file
a3s_flow-0.3.4-cp312-cp312-macosx_10_12_x86_64.whl

bdist_wheel · 4,073.07 KB · Python cp312

Source file
a3s_flow-0.3.4-cp312-cp312-macosx_11_0_arm64.whl

bdist_wheel · 3,879.62 KB · Python cp312

Source file
a3s_flow-0.3.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

bdist_wheel · 4,301.64 KB · Python cp312

Source file
a3s_flow-0.3.4-cp312-cp312-manylinux_2_28_aarch64.whl

bdist_wheel · 4,219.82 KB · Python cp312

Source file
a3s_flow-0.3.4-cp312-cp312-musllinux_1_2_aarch64.whl

bdist_wheel · 4,397.12 KB · Python cp312

Source file
a3s_flow-0.3.4-cp312-cp312-musllinux_1_2_x86_64.whl

bdist_wheel · 4,568.5 KB · Python cp312

Source file
a3s_flow-0.3.4-cp312-cp312-win_amd64.whl

bdist_wheel · 3,769.82 KB · Python cp312

Source file
a3s_flow-0.3.4-cp313-cp313-macosx_10_12_x86_64.whl

bdist_wheel · 4,073.19 KB · Python cp313

Source file
a3s_flow-0.3.4-cp313-cp313-macosx_11_0_arm64.whl

bdist_wheel · 3,879.71 KB · Python cp313

Source file
a3s_flow-0.3.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

bdist_wheel · 4,301.9 KB · Python cp313

Source file
a3s_flow-0.3.4-cp313-cp313-manylinux_2_28_aarch64.whl

bdist_wheel · 4,219.81 KB · Python cp313

Source file
a3s_flow-0.3.4-cp313-cp313-musllinux_1_2_aarch64.whl

bdist_wheel · 4,396.78 KB · Python cp313

Source file
a3s_flow-0.3.4-cp313-cp313-musllinux_1_2_x86_64.whl

bdist_wheel · 4,568.32 KB · Python cp313

Source file
a3s_flow-0.3.4-cp313-cp313-win_amd64.whl

bdist_wheel · 3,769.66 KB · Python cp313

Source file
a3s_flow-0.3.4-cp39-cp39-macosx_10_12_x86_64.whl

bdist_wheel · 4,075.25 KB · Python cp39

Source file
a3s_flow-0.3.4-cp39-cp39-macosx_11_0_arm64.whl

bdist_wheel · 3,881.65 KB · Python cp39

Source file
a3s_flow-0.3.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

bdist_wheel · 4,302.06 KB · Python cp39

Source file
a3s_flow-0.3.4-cp39-cp39-manylinux_2_28_aarch64.whl

bdist_wheel · 4,221.13 KB · Python cp39

Source file
a3s_flow-0.3.4-cp39-cp39-musllinux_1_2_aarch64.whl

bdist_wheel · 4,399.21 KB · Python cp39

Source file
a3s_flow-0.3.4-cp39-cp39-musllinux_1_2_x86_64.whl

bdist_wheel · 4,569.66 KB · Python cp39

Source file
a3s_flow-0.3.4-cp39-cp39-win_amd64.whl

bdist_wheel · 3,770.05 KB · Python cp39

Source file

Repository

PENDING
a3s-lab/flow

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 16:41 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:d09ed35cdcbf8fc6aaed388fb3b06d6519c59ca70da4186e6a636e6d8794dd28

Other collected versions

View all collected versions →