A comprehensive and visually appealing weather forecasting application built using Tkinter, Matplotlib, and WeatherAPI. This app provides real-time weather updates, hourly and 5-10 day forecasts, air quality index (AQI) information, and alerts for natural disasters.
- 🌡️ Real-Time Weather: Displays current temperature, wind direction, and weather conditions with dynamic emojis.
- 🌬️ Air Quality Index (AQI): Shows PM2.5, PM10 levels, and offers health advice.
- 📅 5-10 Day Forecast: View the weather forecast for the next 5-10 days with average temperature and conditions.
- 📊 Graphs: Visualize hourly temperature and rain probabilities.
⚠️ Natural Disaster Alerts: Notifies users about potential natural disasters such as hurricanes, cyclones, and more.
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/hexcrystal69/dynamic-weather-app.git
-
Navigate into the project directory:
cd dynamic-weather-app
-
Install the required dependencies using
pip
:pip install -r requirements.txt
-
Run the application:
python weather_app.py
Note: Ensure you have Python 3.x and internet access to fetch weather data from WeatherAPI.
- Python 3.x
- Tkinter (included with Python standard library)
- Requests (
pip install requests
) - Matplotlib (
pip install matplotlib
)
Here’s a screenshot of the application in action: