Skip to content

This Python project is a Weather Forecast Application that leverages the OpenWeatherMap API to fetch real-time weather data.

License

Notifications You must be signed in to change notification settings

Sajjadrahmanidabbagh/Weather-Forecast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Weather-Forecast

This Python project is a Weather Forecast Application that leverages the OpenWeatherMap API to fetch real-time weather data. Users can search for weather details, including temperature, humidity, wind speed, and current conditions, for any city worldwide. The application features a graphical user interface (GUI) built with Tkinter, making it user-friendly and visually appealing. Additionally, users can save their favorite locations, which are stored locally in a JSON file, and easily view them through the app.

The code demonstrates an integration of API requests, JSON handling, and GUI development. It includes error handling to provide meaningful feedback when something goes wrong, such as entering an invalid city name or network connectivity issues. The project is an excellent starting point for those interested in combining Python programming with API integrations and desktop application development.

This code was initially developed as part of a Python course project. Later, it is updated with more/new features.

In addition, the code includes: a. 5-Day Forecast: Added a function fetch_forecast to fetch and display the 5-day weather forecast. b. Remove Favorite Locations:Added the ability to remove locations from the favorites list. c. Dark Mode: Configured the GUI with a dark theme for better usability.

About

This Python project is a Weather Forecast Application that leverages the OpenWeatherMap API to fetch real-time weather data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published