Skip to content

Repository files navigation

flowprog: procedural generation of material flow model

This Python package defines a framework for building up mass flow models using Sympy symbolic equations.

Getting started

Install flowprog from PyPI. For example, using uv:

uv add flowprog

or using pip (with a suitable virtual environment activated):

pip install flowprog

See the documentation in docs/ for more details and examples.

Developing

If you don't have uv installed already, install it.

Then install dependencies using uv:

uv sync

Build the documentation and examples using Jupyter Book:

uv run jb build docs

Then open the resulting HTML files in docs/_build/html/index.html in your browser.

Run the tests using pytest:

uv run pytest tests

About

Define material flows models as programs

Resources

Stars

1 star

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages