semvec/pypi-packages huggingface dataset:
wqautils 0.1.0
This Python package provides tools for water quality analysis, ensuring that key parameters like temperature, dissolved oxygen, conductivity, turbidity, and pH are within normal ranges. Using Pydantic for data validation, the package ensures accurate input handling and provides detailed explanations when values fall outside acceptable limits.
License: Apache 2.0
Requires Python: <4.0,>=3.11

# Water Quality Analysis Utils

This Python package provides tools for analyzing water quality parameters such as temperature, dissolved oxygen, conductivity, turbidity, and pH using Pydantic for validation.

## Features
- Pydantic models for input validation
- Functions to check if parameters are within safe ranges
- Detailed messages explaining out-of-range values
- Test suite included with pytest

## Installation
```bash
poetry install
```

## Usage
```python
from wqautils import WaterQualityParameters, check_water_quality
params = WaterQualityParameters(temperature=20, dissolved_oxygen=8, conductivity=500, turbidity=2, ph=7)
results = check_water_quality(params)
print(results)
```

## Tests
Run tests with:
```bash
pytest
```