Meanline modeling is a fundamental approach used in the design and analysis of axial turbines (Dixon, 2014).The method simplifies the analysis by assuming a uniform flow and incorporates semi-empirical correlations to estimate performance.This approach allows for a reasonably accurate approximation at low computational cost.TurboFlow is a Python package for meanline modeling of axial turbines, providing a comprehensive framework for on-and off-design performance analysis and design optimization.It employs an equation-oriented model formulation, making it compatible with gradient-based equation solvers and optimization algorithms for efficient computations.The package features a modular architecture that allows for seamless integration of various submodels, enabling users to select and combine different models for calculating losses, flow angles, choking, and tailoring the analysis to specific needs.The structure also facilitates the implementation of other submodels for these purposes.TurboFlow provides access to advanced equations of state for real gas fluid properties by interfacing to the CoolProp library.The accuracy and computational robustness of the implemented models have been demonstrated through comprehensive validation against experimental data (Anderson et al., 2024).