Extends the functionality of Flood Modeller to python users
Project description
Flood Modeller Python API
This python package is designed to be used in conjunction with your installation of Flood Modeller to provide users with a set of tools to extend the capabilities of Flood Modeller and build into automated workflows.
Installation
You can install the floodmodeller_api package from PyPI with the following command:
pip install floodmodeller-api
Python 3.9 or greater is required.
Once you have installed floodmodeller_api to your python environment, you can import the package with:
import floodmodeller_api # imports the full package
from floodmodeller_api import DAT, ZZN, IEF, IED # imports individual classes (recommended)
How to use
The best place to start is to go directly to the Flood Modeller Python API Documentation
The Flood Modeller Python API is designed for users already familiar with both Flood Modeller and Python. The API is built up using distinct python classes for each of the key Flood Modeller file formats as well as key themes. The purpose of the API is not to provide ready-to-use tools for specific tasks, as there is an extensive set of tools already provided within Flood Modeller, many of which can be called from both within and outside of the Flood Modeller software. Instead, this API provides the building blocks for users to build their own custom workflows and tools which can integrate seamlessly with Flood Modeller.
Show and Tell
In the spirit of open source, we encourage you to share any interesting scripts or tools you have developed using the Flood Modeller Python API. To do this, please get involved in the discussions section here. This is also a great place to explore different ways that people have used the API.
Youtube mini tutorials
These videos give you a quick overview of some of the basics of using the Flood Modeller API
Running a simulation
Using the codespace
Extract ReFH2 csv data into IEDs and QTBDYs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file floodmodeller_api-0.5.0.post1.tar.gz
.
File metadata
- Download URL: floodmodeller_api-0.5.0.post1.tar.gz
- Upload date:
- Size: 13.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ab78315b63c0199709fe1aab3e2c8c8cae3950cd75a1bc5f00b2096964f291f |
|
MD5 | efa9a9d21198f7c0382d9ccd7a66d09d |
|
BLAKE2b-256 | 68eb341e9abeb16a5b21f2726415d55f91ffa9225a4ab5ebb0a4246089962a22 |
File details
Details for the file floodmodeller_api-0.5.0.post1-py3-none-any.whl
.
File metadata
- Download URL: floodmodeller_api-0.5.0.post1-py3-none-any.whl
- Upload date:
- Size: 13.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdb956e6bdbe95a9da92486b5a367320527af184f33893ee306c4109871ba55c |
|
MD5 | 1f01ae5477e6215590e71c85633b8e37 |
|
BLAKE2b-256 | 6958df7ad196cc6bf002f3096ab3aa90eb276ad8fc51c32e87f7784b9d62775d |