Skip to content

Latest commit

 

History

History
80 lines (55 loc) · 4.04 KB

README.md

File metadata and controls

80 lines (55 loc) · 4.04 KB

MODFLOW developer tools

CI Documentation Status GitHub contributors GitHub tag

PyPI License PyPI Status PyPI Format PyPI Version PyPI Versions

Anaconda License Anaconda Version Anaconda Updated

Python development tools for MODFLOW 6 and related projects.

Features

Requirements

Python3.10+, dependency-free by default.

Several optional dependency groups are available, oriented around specific use cases:

  • dfn: MF6 definition file parsing
  • test: pytest fixtures/extensions
  • models: example model access

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.