New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

modflow-devtools

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

modflow-devtools

Python tools for MODFLOW development

  • 1.6.0
  • PyPI
  • Socket score

Maintainers
2

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.

Use cases

This is a small toolkit for developing MODFLOW 6, FloPy, and related projects. It includes standalone utilities and optional Pytest extensions.

Utilities include:

  • a minimal GitHub API client for retrieving release information and downloading assets
  • a ZipFile subclass that preserves file permissions (workaround for Python #15795)
  • other release/distribution-related tools

Pytest features include:

  • --keep <path> tempdir fixtures for each scope
  • a --smoke test (abbrev. -S) CLI option shortcut
  • markers to skip test cases conditional on
    • operating system
    • Python packages installed
    • executables available on the PATH
  • test fixtures for example / test models in
    • MODFLOW-USGS/modflow6-examples
    • MODFLOW-USGS/modflow6-testmodels
    • MODFLOW-USGS/modflow6-largetestmodels

Requirements

Python3.8+, dependency-free, but pairs well with pytest and select plugins, e.g.

Installation

modflow-devtools is available on PyPI and can be installed with pip:

pip install modflow-devtools

Pytest, pytest plugins, and other testing-related dependencies can be installed with:

pip install "modflow-devtools[test]"

To install from source and set up a development environment please see the developer documentation.

To import pytest fixtures in a project consuming 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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc