A project that provides weather information and health advice based on current weather conditions.
The Weather Health Advisor allows users to enter a city name, get the current weather data, and receive health advice based on the weather conditions (e.g., tips for hot or cold weather).
-
Clone the repository:
git clone https://github.com/KP012-pixel/Weather-Health-Advisor.git
-
Navigate into the project folder:
cd Weather-Health-Advisor
-
Set up a virtual environment:
python -m venv venv
-
Activate the virtual environment:
- On Windows:
venv\Scripts\activate
- On Mac/Linux:
source venv/bin/activate
- On Windows:
-
Install dependencies:
pip install -r requirements.txt
-
Make sure to add your OpenWeather API key in the
.env
file. -
Run the app:
python app.py
-
Enter the name of the city when prompted, and receive weather data and health advice.
- KP012-pixel
This project is licensed under the MIT License.