This Python package defines a framework for building up mass flow models using Sympy symbolic equations.
Install flowprog from PyPI. For example, using uv:
uv add flowprogor using pip (with a suitable virtual environment activated):
pip install flowprogSee the documentation in docs/ for more details and examples.
If you don't have uv installed already, install it.
Then install dependencies using uv:
uv syncBuild the documentation and examples using Jupyter Book:
uv run jb build docsThen open the resulting HTML files in docs/_build/html/index.html in your browser.
Run the tests using pytest:
uv run pytest tests