modflowapi
An extension to xmipy for the MODFLOW API.
Introduction
The modflowapi Python package can be used to access functionality in the eXtended Model Interface (XMI) wrapper (XmiWrapper)
and additional functionality specific to the MODFLOW API. Currently it is a joint development of the USGS and Deltares.
Installation
modflowapi requires Python 3.11+, with:
numpy
pandas
xmipy
To install modflowapi with pip:
pip install modflowapi
Or with conda:
conda install -c conda-forge modflowapi
Documentation
Documentation is available on ReadTheDocs.
Examples using modflowapi and its extensions can be found in the Quickstart and the Extensions notebooks. An example of using the MODFLOW API to monitor heads during a simulation can be found in the Head Monitor Example Notebook.
For more info on MODFLOW 6 see the USGS overview.
Citation
Hughes, Joseph D., Russcher, M. J., Langevin, C. D., Morway, E. D. and McDonald, R. R., 2022, The MODFLOW Application Programming Interface for simulationcontrol and software interoperability: Environmental Modelling & Software, v. 148, p. 105257, doi:10.1016/j.envsoft.2021.105257.
Papers featuring the MODFLOW 6 API
Metadata
Release files for modflowapi 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| modflowapi-1.0.1.tar.gz | 23.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| modflowapi-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.8 kB
Release files / modflowapi-1.0.1.tar.gz
| Download URL | modflowapi-1.0.1.tar.gz |
|---|---|
| Size | 23.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1388d47f706115fee537a721e91700a3c9ad7b6e2a41b2f85f07cefe5f9d558e
|
|
BLAKE2b-256 checksum How to use checksums |
90c9a9ced9bd9fc5c931f7e5d10526c2b4b8f30d35e2c41db8322064a1c3d62b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 6, 2026.
Transparency logRelease files / modflowapi-1.0.1-py3-none-any.whl
| Download URL | modflowapi-1.0.1-py3-none-any.whl |
|---|---|
| Size | 26.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c997cc001a4c67a5121367245a3ca4edf4588cd39f9a16f9c0e966f0a60286a
|
|
BLAKE2b-256 checksum How to use checksums |
46045e169de0fb35171c43d2862af3d91383475ec00e34bbfd4166ae1fcc5869
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 6, 2026.
Transparency log