A simple and beautiful desktop weather application built with Python and Tkinter.
It fetches real-time weather data from OpenWeatherMap for a default location (๐ฎ๐ถ Karbala, Iraq) and presents it with a clean and graphical user interface.
- ๐ Default weather info for Karbala, Iraq
- ๐ก๏ธ Real-time temperature and description
- ๐ Weather icons (auto-loaded from OpenWeatherMap)
- ๐ Refresh button to update data instantly
- ๐จ Clean, minimal, and responsive UI
- โ No database required โ works out of the box
- Python 3.x
requestsmodulePillowmodule (for image processing)
Install dependencies:
pip install requests pillow- Go to OpenWeatherMap and create a free account.
- Get your API key.
- Open
main.pyand replace:
API_KEY = "your_openweathermap_api_key"with your actual API key.
python main.pyMade with โค๏ธ by Mostafa Baghi
