This Python package defines a framework for building up mass flow models using Sympy symbolic equations.
Install flowprog -- it is not yet released on PyPI so this needs to be done locally or via git. This takes only a few seconds.
For example, using uv:
uv add https://github.com/probs-lab/flowprog/archive/refs/heads/main.zipor using pip (with a suitable virtual environment activated):
pip install https://github.com/probs-lab/flowprog/archive/refs/heads/main.zipSee 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