What is PyTOUGH?
PyTOUGH (Python TOUGH) is a Python library for simplifying, extending and automating the use of the TOUGH2 subsurface fluid and heat flow simulator. Using PyTOUGH, it is possible to automate the creation and editing of TOUGH2 model grids and data files, and the analysis and display of model simulation results, using Python scripts.
Installing PyTOUGH:
From version 1.6.0, PyTOUGH can be installed via the pip Python package installer:
pip install PyTOUGH
You can also install a particular version of PyTOUGH, e.g. to install version 1.6.0:
pip install PyTOUGH==1.6.0
To uninstall PyTOUGH:
pip uninstall PyTOUGH
To install the testing branch, to get the most recent changes being tested for the next stable release:
pip install git+https://github.com/acroucher/PyTOUGH.git@testing
More information:
For more detailed information on PyTOUGH, consult the user guide (html, or you can download PDF or Epub versions) and the PyTOUGH wiki, which has links to published articles on PyTOUGH.
What's new in PyTOUGH?
The latest stable version is 1.6.6, which has:
- ability to convert EOS3 models to Waiwera JSON input
Metadata
Release files for PyTOUGH 1.6.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytough-1.6.6.tar.gz | 156.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytough-1.6.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 291.6 kB
Release files / pytough-1.6.6.tar.gz
| Download URL | pytough-1.6.6.tar.gz |
|---|---|
| Size | 156.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce1025e813d2b1dfe37b88ee83e0194e5b8c264ab0141f421018eefbc631eb61
|
|
BLAKE2b-256 checksum How to use checksums |
8c96a22859f4699adddba59fd4fb2843c209810177943aff424b9d073c787cb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Nov 3, 2025.
Transparency logRelease files / pytough-1.6.6-py3-none-any.whl
| Download URL | pytough-1.6.6-py3-none-any.whl |
|---|---|
| Size | 135.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0c8a7feba4644a4ec6586837f205bd4e0417fcd7b24e44ca84a3e5f4c8ecfd69
|
|
BLAKE2b-256 checksum How to use checksums |
b2a6afdf162a4711ded87d01261de2607f3f75e335e1434066cd9b314827d545
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Nov 3, 2025.
Transparency log