Skip to content

Python API or workspace

Use the workspace when a study fits the supplied run types and should be declared in a run matrix. Use the Python API when application code must build scripts, compose custom workflows, or integrate execution and results into a larger Python program.

The package layers and their responsibilities are described in the generated architecture overview. Start with the Python tutorial, then see Python in a loop for repeated planning and result collection. The generated API reference documents public names, and the route map links capabilities to workspace tasks.

Choose a task

Task Start with Read the result
Build a validated solver script without launching it First Python session, pyflightstream.script.Script and pyflightstream.script.helpers Command reference and build compatibility
Plan or run a workspace campaign Python in a loop, pyflightstream.workspace and pyflightstream.run Planning and cost; use pyfs-matrix plan for the CLI route
Read existing solver exports pyflightstream.results in the API reference Post-processing definitions for units, frames and missing values
Rebuild products from recorded runs Additional post, pyflightstream.post What every product states; use pyfs-matrix post for the CLI route
Inspect and recover a workspace Replay a recorded run, pyflightstream.workspace Restore and rebuild

The generated reference is the canonical home of each symbol's signature and docstring. These task links explain when to use it without copying that reference.

Three different kinds of confidence

API stability describes whether a Python interface may change. The reference states each module's maturity. Solver compatibility describes the command evidence for a particular FlightStream build; consult builds. Physical validation describes comparisons for a particular flow, geometry and numerical setup. A stable API or an accepted command does not validate a physical result. Experimental FSI and far-field paths retain the limitations on their task pages even when their scripts build successfully.