Skip to main content
FM Logo

PyPI Latest Release License: GPL v3 Unit Tests Lint Downloads Code style: black

Flood Modeller Python API

Try in GitHub Codespaces!

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.

API Overview

Installation

You can install the floodmodeller_api package from PyPI with the following command:

pip install floodmodeller-api

Flood Modeller API is regularly tested for all versions of python 3.10 onwards. Although it may work for older versions of python, we recommend using at least v3.10 and ideally the latest stable release.

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

Metadata

Release files for floodmodeller-api 0.5.8.post1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for floodmodeller-api 0.5.8.post1
File Size Uploaded Provenance Actions
floodmodeller_api-0.5.8.post1.tar.gz 17.6 MB Without provenance Details for floodmodeller_api-0.5.8.post1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for floodmodeller-api 0.5.8.post1
File Interpreter ABI Platform Actions
floodmodeller_api-0.5.8.post1-py3-none-any.whl Python 3 none any Details for floodmodeller_api-0.5.8.post1-py3-none-any.whl

Total release size: 35.4 MB

Release files / floodmodeller_api-0.5.8.post1.tar.gz

Download URL floodmodeller_api-0.5.8.post1.tar.gz
Size 17.6 MB
Tags Source
SHA-256 checksum
How to use checksums
f3a168d40115a91c5a13d83bfffc1df99dc1396e243b4160cebe5a9fe6c105ee
BLAKE2b-256 checksum
How to use checksums
5bc2ce0e81ca1ffe26e0d3b99cc424eda40ac461e340b2c727a8c6bb02f695da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / floodmodeller_api-0.5.8.post1-py3-none-any.whl

Download URL floodmodeller_api-0.5.8.post1-py3-none-any.whl
Size 17.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4021aeb2f13fb71771f3f3a7b4fafe5c5345d7fb2412608fe4851e9e941a020c
BLAKE2b-256 checksum
How to use checksums
ebf872ae6a893460146f6623740d03fb59ced9367352c03c76d6db1ff0609fa0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Security for floodmodeller-api 0.5.8.post1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.5.8.post1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page