MODFLOW developer tools
Python development tools for MODFLOW 6 and related projects.
Features
- a minimal GitHub API client for release info/assets
- a
ZipFilesubclass that preserves file permissions (workaround for Python #15795) - pytest fixtures including "keepable" temporary directories and snapshot testing utilities
- pytest markers to skip test cases conditional on operating system, installed packages, or available executables
- a parser for MODFLOW 6 definition files
- a models API for streamlined access to MODFLOW 6 (and other) models in
Requirements
Python3.10+, dependency-free by default.
Two main dependency groups are available, oriented around specific use cases:
test: pytest fixtures, markers, and extensionsecosystem: program/model management, definition file utilities
Installation
modflow-devtools is available on PyPI and can be installed with pip:
pip install modflow-devtools
To install an optional dependency group:
pip install "modflow-devtools[test]"
To install from source and set up a development environment please see the developer documentation.
To use the pytest fixtures provided by modflow-devtools, add the following to a test file or conftest.py file:
pytest_plugins = [ "modflow_devtools.fixtures" ]
Note: this must be a top-level conftest.py, which nested conftest.py files may then override or extend.
Documentation
Docs are available at modflow-devtools.readthedocs.io.
For more info on MODFLOW 6 see the USGS overview.
Metadata
Release files for modflow-devtools 1.9.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| modflow_devtools-1.9.2.tar.gz | 89.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| modflow_devtools-1.9.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 195.3 kB
Release files / modflow_devtools-1.9.2.tar.gz
| Download URL | modflow_devtools-1.9.2.tar.gz |
|---|---|
| Size | 89.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2637669441e6186123fe3af33b7829b50341b44088c8bf6fb0110808b8b3b417
|
|
BLAKE2b-256 checksum How to use checksums |
156d9e1b05957167e4b26925b99d8ca1c3ceaa5db8eadf6daaf0e3b3c90cc9b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Apr 20, 2026.
Transparency logRelease files / modflow_devtools-1.9.2-py3-none-any.whl
| Download URL | modflow_devtools-1.9.2-py3-none-any.whl |
|---|---|
| Size | 105.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00935ad4f45db546731a4039a329ed01ebe3617d9337cdc4945e8d075b763b16
|
|
BLAKE2b-256 checksum How to use checksums |
b08cb3f7ac4340e793a003399abed24edbb4f5b6b9c843901193d3b45483c9f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Apr 20, 2026.
Transparency log