Python tools for MODFLOW development
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file modflow_devtools-1.9.1.tar.gz.
File metadata
- Download URL: modflow_devtools-1.9.1.tar.gz
- Upload date:
- Size: 89.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9f454897df99157f72153e57a7561e9fd7067d8393dff319b3d99fa18d30948
|
|
| MD5 |
2a723f21fefb6104185e4f3705a9f74d
|
|
| BLAKE2b-256 |
1357e7210a49cbded0c18cb33a4d8cd45a1533286ba76c9a6bb19ceb40f0f506
|
Provenance
The following attestation bundles were made for modflow_devtools-1.9.1.tar.gz:
Publisher:
release.yml on MODFLOW-ORG/modflow-devtools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
modflow_devtools-1.9.1.tar.gz -
Subject digest:
d9f454897df99157f72153e57a7561e9fd7067d8393dff319b3d99fa18d30948 - Sigstore transparency entry: 1041983650
- Sigstore integration time:
-
Permalink:
MODFLOW-ORG/modflow-devtools@186bc5c492a852b26b1c9403dca10baca5171354 -
Branch / Tag:
refs/tags/1.9.1 - Owner: https://github.com/MODFLOW-ORG
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@186bc5c492a852b26b1c9403dca10baca5171354 -
Trigger Event:
release
-
Statement type:
File details
Details for the file modflow_devtools-1.9.1-py3-none-any.whl.
File metadata
- Download URL: modflow_devtools-1.9.1-py3-none-any.whl
- Upload date:
- Size: 105.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6299ef63edb8e74ec3bc765e04c4588080ef9f8a03cfc7d4d456cd514149073
|
|
| MD5 |
098d6b1f7424e7cca4b37c740bf2cbf1
|
|
| BLAKE2b-256 |
bee261c87ee23615fff0908cc69239a6b0178fa4567e67f4c9fd4798289ad58e
|
Provenance
The following attestation bundles were made for modflow_devtools-1.9.1-py3-none-any.whl:
Publisher:
release.yml on MODFLOW-ORG/modflow-devtools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
modflow_devtools-1.9.1-py3-none-any.whl -
Subject digest:
e6299ef63edb8e74ec3bc765e04c4588080ef9f8a03cfc7d4d456cd514149073 - Sigstore transparency entry: 1041983731
- Sigstore integration time:
-
Permalink:
MODFLOW-ORG/modflow-devtools@186bc5c492a852b26b1c9403dca10baca5171354 -
Branch / Tag:
refs/tags/1.9.1 - Owner: https://github.com/MODFLOW-ORG
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@186bc5c492a852b26b1c9403dca10baca5171354 -
Trigger Event:
release
-
Statement type: