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

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
File Size Uploaded Provenance Actions
floodmodeller_api-0.5.8.tar.gz 17.6 MB Without provenance Details for floodmodeller_api-0.5.8.tar.gz

Built distribution (wheel)

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

Total release size: 35.4 MB

Release files / floodmodeller_api-0.5.8.tar.gz

Download URL floodmodeller_api-0.5.8.tar.gz
Size 17.6 MB
Tags Source
SHA-256 checksum
How to use checksums
c5777d9259a43a5efb9943b41e613778fa7e1857fedfd4fef0ab7c555d543b08
BLAKE2b-256 checksum
How to use checksums
fc44d45f42a790b97b77c12e8a61484f9fca4832c2bb6d4383803e1eb19dadc0
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-py3-none-any.whl

Download URL floodmodeller_api-0.5.8-py3-none-any.whl
Size 17.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
57845c5f7a06f24d4cf90725e799b816289bc38ac960c3dafae50497cea73e89
BLAKE2b-256 checksum
How to use checksums
526ec82bfa9b5d298b36be4f1c6dc2c81c15f5b45e36e4ffb00a6044bc778cea
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

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 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