Installation and Importing#

Before installing the Flood Modeller API, first ensure you already have Python installed on your machine (version 3.8 or greater) and, ideally, have a dedicated python environment set up. Consider using miniforge as a lightweight, open-source package manager.

Once you have your Python environment set up, you can install the floodmodeller_api package directly from PyPI using the following command:

pip install floodmodeller-api

It is recommended to regularly update directly from PyPI as this will ensure you have latest version:

pip install floodmodeller-api --upgrade

To ensure the package has installed successfully, have a go at running all of the package tests:

pytest --pyargs floodmodeller_api