Metadata-Version: 2.4
Name: aquaprov
Version: 0.5
Summary: AquaProv desktop workspace for water chemistry, geochemical diagrams, statistics and spatial analysis
Author-email: Sachida Nanda Mahanta <sachida5908@gmail.com>, Bristi Phukan <bristi.87.hn.24@gmail.com>, "Dr. S. Selvakumar" <geoselvas@gmail.com>
License-Expression: GPL-3.0-only
Project-URL: Homepage, https://sachi5908.github.io/AquaProv_Documentation/
Project-URL: Documentation, https://sachi5908.github.io/AquaProv_Documentation/manual.html
Project-URL: Repository, https://github.com/sachi5908/AquaProv
Project-URL: Issues, https://github.com/sachi5908/AquaProv/issues
Keywords: water chemistry,hydrogeochemistry,Piper,PHREEQC,water quality,geochemistry
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Win32 (MS Windows)
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Education
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Scientific/Engineering :: Chemistry
Classifier: Topic :: Scientific/Engineering :: Visualization
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=1.22
Requires-Dist: pandas>=2.0
Requires-Dist: matplotlib>=3.8
Requires-Dist: scipy>=1.8
Requires-Dist: scikit-learn>=1.2
Requires-Dist: openpyxl>=3.0.10
Requires-Dist: python-docx>=1.1
Requires-Dist: reportlab>=4.0
Requires-Dist: xlrd>=2.0.1
Requires-Dist: PySide6_Essentials<7,>=6.5
Requires-Dist: shapely>=2.0
Requires-Dist: pyproj>=3.4
Requires-Dist: defusedxml>=0.7
Dynamic: license-file

# AquaProv

**Water chemistry, statistics and spatial analysis in one desktop workspace.**

AquaProv (Aquatic Geochemistry & Provenance) is an open-source desktop application
for water-chemistry analysis, geochemical diagrams, multivariate statistics,
spatial mapping and interactive 3D visualization. Projects keep imported data,
analysis settings, figure styling and numerical results together.

This is **PyPI package version 0.5**. The desktop application displays
**AquaProv V. 1.0**; its version is maintained separately from PyPI releases.

Version 0.5 adds **Deep Blue-Light Blue (SI)** to the colour-scale selectors in
all seven workspaces, using the blue hues from the mineral saturation maps.
Select it in **Style > Colour scale**, or in the WQI/SI map palette settings.
The scale is saved with projects and style presets and included in figure exports.

## Install and launch

This release supports **Windows x64 with 64-bit Python 3.10 or newer**.
Python 3.10.11 is the release-validation environment. A graphical desktop is
required. macOS, Linux, Windows ARM64 and 32-bit Python are not supported by this
distribution because it includes the Windows x64 USGS IPhreeqc engine.

```console
python -m pip install aquaprov
aquaprov
```

If Python's Scripts folder is not on your PATH, launch with:

```console
python -m aquaprov
```

Open an existing project or check the application version:

```console
aquaprov "C:\path\to\study.aquaprov"
aquaprov --version
```

Use `python -m pip show aquaprov` to check the installed PyPI package version.

`python -m aquaprovpy` also launches the application. Scientific Python modules
remain available under `aquaprovpy`, for example `from aquaprovpy import triangle_piper`.

For a separate environment, run these commands in PowerShell:

```powershell
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install --upgrade pip
.\.venv\Scripts\python.exe -m pip install aquaprov
.\.venv\Scripts\python.exe -m aquaprov
```

pip installs the required scientific libraries and PySide6 Essentials. No
separate PHREEQC installation is needed on Windows x64. The package includes
the engine, `phreeqc.dat`, `wateq4f.dat`, application icons and colour resources.

## Analysis workspaces

- **Groundwater:** Piper variants, Durov, Stiff, Schoeller, Gibbs, Chadha,
  Gaillardet, HFE-D, USSL and Wilcox diagrams.
- **Statistics:** correlation, PCA, Ward clustering, heatmaps, scatter matrices,
  boxplots, time series and bootstrap intervals.
- **Maps:** sample locations, IDW, ordinary kriging, contours and boundary layers.
- **3D:** sample scatter, interpolated surfaces and PCA views rendered with Matplotlib.
- **Assessment:** measurement quality, charge balance, uncertainty, sensitivity
  and scientific screening under declared assumptions.
- **WQI & DWQI:** water-quality indices with editable standards and classifications.
- **PHREEQC mineral SI:** local speciation and saturation calculations, or analysis
  of imported saturation indices.

Import CSV or Excel data, review the columns and units, choose an analysis, then
generate and export figures or numerical results. Save a `.aquaprov` project to
retain the data and workspace settings. Calculations run locally; online
documentation and optional map backgrounds use the internet.

## Documentation and support

- [Getting started](https://sachi5908.github.io/AquaProv_Documentation/quickstart.html)
- [User manual](https://sachi5908.github.io/AquaProv_Documentation/manual.html)
- [Example datasets](https://sachi5908.github.io/AquaProv_Documentation/datasets.html)
- [Source code](https://github.com/sachi5908/AquaProv)
- [Report an issue](https://github.com/sachi5908/AquaProv/issues)

Documentation and example research datasets are hosted separately and are not
included in the pip download.

## Authors, license and citation

Sachida Nanda Mahanta, Bristi Phukan and Dr. S. Selvakumar. AquaProv is distributed
under the GNU General Public License, version 3. Bundled third-party resources
retain their notices, including the PhreeqPy license and USGS PHREEQC notice.

Suggested citation:

> Mahanta, S. N., Phukan, B., & Selvakumar, S. *AquaProv* (PyPI package version 0.5) [Computer software].
> https://github.com/sachi5908/AquaProv

Also cite the scientific methods used in your analysis. Consult the method
guides for input requirements, assumptions and limitations.
