A simple, modern weather application built with Python and Tkinter.
- Current Weather: Get the current weather for any city.
- 7-Day Forecast: View the 7-day forecast for any city.
- Hourly Forecast: View the hourly forecast for the next 12 hours.
- Subscriptions: Subscribe to cities to quickly view their weather.
- Auto-Refresh: Subscribed cities' weather data automatically refreshes every hour.
- Temperature Units: Toggle between Fahrenheit and Celsius.
- Dark Theme: A modern, dark-themed UI.
- Caching: API responses are cached to avoid hitting rate limits.
- Clone the repository:
git clone https://github.com/your-username/PythonWeather.git
- Install the required dependencies:
pip install -r requirements.txt
- Add your OpenWeatherMap API key:
- Create a file named
apiKeys.txtin the.apidirectory and paste your key in it. - Or, set the
OPENWEATHER_API_KEYenvironment variable.
- Create a file named
Run the application with the following command:
python weather_gui.pyThis project is licensed under the MIT License - see the LICENSE file for details.