# flopy

> Python package to create, run, and post-process MODFLOW-based models

**Wikidata**: [Q120728232](https://www.wikidata.org/wiki/Q120728232)  
**Source**: https://4ort.xyz/entity/flopy

## Summary
Flopy is a Python package designed to create, run, and post-process MODFLOW-based groundwater flow models. It's free software distributed under terms that allow users to freely run, study, change, and distribute it.

## Key Facts
- Flopy is classified as free software.
- The latest documented versions include 3.2.13 as of the information provided.
- The source code repository is available at https://github.com/modflowpy/flopy.
- Documentation is available at https://flopy.readthedocs.io/en/latest/.
- It was released under terms that allow users to freely run, study, change and distribute it and modified versions.
- Version 3.2.4 was released on February 6, 2016.
- Version 3.2.5 was released on June 27, 2016.
- Version 3.2.6 was released on March 19, 2017.
- Version 3.2.7 was released on December 1, 2017.
- Version 3.2.8 was released on December 18, 2017.
- Version 3.2.9 was released on February 19, 2018.
- Version 3.2.10 was released on October 19, 2018.
- Version 3.2.11 was released on March 23, 2019.
- Version 3.2.12 was released on June 1, 2019.
- Version 3.2.13 was released on November 18, 2019.

## FAQs
### Q: What is Flopy used for?
A: Flopy is a Python package used to create, run, and post-process MODFLOW-based groundwater flow models.

### Q: Is Flopy free to use?
A: Yes, Flopy is free software distributed under terms that allow users to freely run, study, change and distribute it and modified versions.

### Q: Where can I find the source code?
A: The source code repository is available at https://github.com/modflowpy/flopy.

### Q: What is MODFLOW?
A: MODFLOW is a numerical model for simulating groundwater flow, and Flopy provides tools to work with such models.

## Why It Matters
Flopy significantly simplifies the process of developing and analyzing groundwater flow models by providing a Python-based interface to MODFLOW. It democratizes access to complex hydrogeological modeling tools, allowing researchers, engineers, and scientists to create, run, and analyze groundwater models without requiring extensive knowledge of MODFLOW's command-line interface. The package streamlines model setup, execution, and post-processing, making it easier to conduct hydrogeological studies, evaluate contaminant transport, and assess water resource management scenarios. By providing a high-level Python interface, Flopy bridges the gap between traditional command-line model development and modern programming practices, enabling more efficient and reproducible scientific workflows in hydrogeology.

## Notable For
- Provides a Python-based interface to MODFLOW, making complex groundwater modeling accessible to Python users.
- Enables creation, execution, and post-processing of MODFLOW-based models through a high-level API.
- Distributed as free software under permissive terms allowing modification and redistribution.
- Maintained with regular updates, with the latest version (3.2.13) released in 2019.
- Includes comprehensive documentation at https://flopy.readthedocs.io/en/latest/.

## Body
### Overview
Flopy is a Python package designed to facilitate the development and analysis of MODFLOW-based groundwater flow models. It provides a high-level interface that simplifies the process of creating, running, and post-processing models that simulate groundwater flow.

### Development and Release History
The package has undergone continuous development with multiple releases documented in the source repository. The version history shows regular updates from 2016 through 2019, with version 3.2.4 released on February 6, 2016, and version 3.2.13 released on November 18, 2019. Each release includes updates and improvements to the package functionality.

### Technical Features
Flopy provides tools for:
- Creating MODFLOW input files programmatically
- Running MODFLOW simulations
- Processing simulation results
- Visualizing model outputs

The package is designed to work with the MODFLOW model, which is a widely used numerical model for simulating groundwater flow.

### Documentation and Resources
Flopy includes comprehensive documentation available at https://flopy.readthedocs.io/en/latest/. The documentation provides detailed information on how to use the package, including examples and tutorials. The source code repository is hosted on GitHub at https://github.com/modflowpy/flopy.

### Classification and Licensing
Flopy is classified as free software, distributed under terms that allow users to freely run, study, change and distribute it and modified versions. This classification indicates that the software is open-source and can be used, modified, and shared without restrictive licensing constraints.

### Usage and Applications
Flopy is used in various hydrogeological applications including:
- Groundwater resource assessment
- Contaminant transport modeling
- Water management planning
- Environmental impact studies

The package enables researchers and practitioners to build complex groundwater models with Python code, making it easier to integrate with other scientific computing tools and workflows.

## References

1. [Release 3.2.4. 2016](https://github.com/modflowpy/flopy/releases/tag/3.2.4)
2. [Release 3.2.5. 2016](https://github.com/modflowpy/flopy/releases/tag/3.2.5)
3. [Release 3.2.6. 2017](https://github.com/modflowpy/flopy/releases/tag/3.2.6)
4. [Release 3.2.7. 2017](https://github.com/modflowpy/flopy/releases/tag/3.2.7)
5. [Release 3.2.8. 2017](https://github.com/modflowpy/flopy/releases/tag/3.2.8)
6. [Release 3.2.9. 2018](https://github.com/modflowpy/flopy/releases/tag/3.2.9)
7. [Release 3.2.10. 2018](https://github.com/modflowpy/flopy/releases/tag/3.2.10)
8. [Release 3.2.11. 2019](https://github.com/modflowpy/flopy/releases/tag/3.2.11)
9. [Release 3.2.12. 2019](https://github.com/modflowpy/flopy/releases/tag/3.2.12)
10. [Release 3.2.13. 2019](https://github.com/modflowpy/flopy/releases/tag/3.2.13)
11. [Release 3.3.0. 2019](https://github.com/modflowpy/flopy/releases/tag/3.3.0)
12. [Release 3.3.1. 2020](https://github.com/modflowpy/flopy/releases/tag/3.3.1)
13. [Release 3.3.2. 2020](https://github.com/modflowpy/flopy/releases/tag/3.3.2)
14. [Release 3.3.3. 2021](https://github.com/modflowpy/flopy/releases/tag/3.3.3)
15. [Release 3.3.4. 2021](https://github.com/modflowpy/flopy/releases/tag/3.3.4)
16. [Release 3.3.5. 2022](https://github.com/modflowpy/flopy/releases/tag/3.3.5)
17. [Release 3.3.6. 2022](https://github.com/modflowpy/flopy/releases/tag/3.3.6)
18. [Release 3.4.0. 2023](https://github.com/modflowpy/flopy/releases/tag/3.4.0)
19. [Release 3.4.1. 2023](https://github.com/modflowpy/flopy/releases/tag/3.4.1)
20. [Release 3.4.2. 2023](https://github.com/modflowpy/flopy/releases/tag/3.4.2)
21. [Release 3.4.3. 2023](https://github.com/modflowpy/flopy/releases/tag/3.4.3)
22. [Release 3.5.0. 2023](https://github.com/modflowpy/flopy/releases/tag/3.5.0)
23. [Release 3.6.0. 2024](https://github.com/modflowpy/flopy/releases/tag/3.6.0)
24. [Release 3.7.0. 2024](https://github.com/modflowpy/flopy/releases/tag/3.7.0)
25. [Release 3.8.0. 2024](https://github.com/modflowpy/flopy/releases/tag/3.8.0)
26. [Release 3.8.1. 2024](https://github.com/modflowpy/flopy/releases/tag/3.8.1)
27. [Release 3.8.2. 2024](https://github.com/modflowpy/flopy/releases/tag/3.8.2)
28. [Release 3.9.0. 2024](https://github.com/modflowpy/flopy/releases/tag/3.9.0)
29. [Release 3.9.1. 2024](https://github.com/modflowpy/flopy/releases/tag/3.9.1)
30. [Release 3.9.2. 2025](https://github.com/modflowpy/flopy/releases/tag/3.9.2)
31. [Release 3.9.3. 2025](https://github.com/modflowpy/flopy/releases/tag/3.9.3)
32. [Release 3.9.4. 2025](https://github.com/modflowpy/flopy/releases/tag/3.9.4)
33. [Release 3.9.5. 2025](https://github.com/modflowpy/flopy/releases/tag/3.9.5)
34. [Release 3.10.0. 2026](https://github.com/modflowpy/flopy/releases/tag/3.10.0)
35. [Source](https://api.github.com/repos/modflowpy/flopy)