AquaGrow is a Flask-based API that provides water usage recommendations for agricultural lands based on real-time weather data. The recommendations are generated using a machine learning model trained on historical weather data and crop-specific water usage patterns.
- Fetch real-time weather data for any location.
- Generate water usage recommendations for five crops: Rice, Wheat, Beets, Corn, and Potatoes.
- API endpoint for health checks.
- Python 3.7+
- Flask
- Requests
- Pandas
- Scikit-learn
- WeatherAPI key (you can sign up for an API key at WeatherAPI)
-
Clone the repository:
git clone https://github.com/yourusername/aquagrow.git cd aquagrow
-
Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the required packages:
pip install -r requirements.txt