Skip to content

๐ŸŒค๏ธ Python Weather App โ€” A beautiful and responsive desktop weather application built with Python that fetches real-time weather data for a default location (e.g., Iraq/Karbala) and displays it with a clean, graphical interface.

License

Notifications You must be signed in to change notification settings

mostafabaghi/python-weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒค๏ธ Python Weather App

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.


โœจ Features

  • ๐Ÿ“ 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

๐Ÿ› ๏ธ Requirements

  • Python 3.x
  • requests module
  • Pillow module (for image processing)

Install dependencies:

pip install requests pillow

๐Ÿ”‘ Setup API Key

  1. Go to OpenWeatherMap and create a free account.
  2. Get your API key.
  3. Open main.py and replace:
API_KEY = "your_openweathermap_api_key"

with your actual API key.


โ–ถ๏ธ Run the App

python main.py

๐Ÿ“ธ Screenshot

App Screenshot


๐Ÿ™Œ Author

Made with โค๏ธ by Mostafa Baghi

About

๐ŸŒค๏ธ Python Weather App โ€” A beautiful and responsive desktop weather application built with Python that fetches real-time weather data for a default location (e.g., Iraq/Karbala) and displays it with a clean, graphical interface.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages