Welcome to the Python Weather App repository! This application provides real-time weather data for your selected location, featuring a clean and user-friendly graphical interface.
- Real-Time Weather Data: Fetches live weather updates from OpenWeatherMap API.
- Location-Based: Default location set to Karbala, Iraq, with the option to change it.
- User-Friendly Interface: Built with Tkinter for a responsive and intuitive design.
- Offline UI: Displays previously fetched data when offline.
- Weather Forecast: Provides a detailed forecast for upcoming days.
- Python: The core programming language.
- Tkinter: For building the graphical user interface.
- OpenWeatherMap API: For fetching real-time weather data.
- Requests: For making HTTP requests to the API.
- JSON: For handling the weather data format.
To install the Python Weather App, follow these steps:
-
Clone the repository:
git clone https://github.com/idjy/python-weather-app.git
-
Navigate to the project directory:
cd python-weather-app
-
Install the required packages:
pip install -r requirements.txt
-
Download the latest release from the Releases section. Execute the downloaded file to run the application.
-
Launch the application by executing the main Python file:
python main.py
-
The application will display the current weather for Karbala. You can change the location by entering a new city name.
-
Click on the "Get Weather" button to fetch the latest data.
-
Enjoy a simple and clean interface that displays temperature, humidity, and weather conditions.
We welcome contributions to improve the Python Weather App. Here’s how you can help:
- Fork the repository.
- Create a new branch:
git checkout -b feature/YourFeature
- Make your changes and commit them:
git commit -m "Add your feature"
- Push to the branch:
git push origin feature/YourFeature
- Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For the latest releases, visit here. Download the latest version and execute the file to get started.
Check the "Releases" section for updates and new features.
Thank you for checking out the Python Weather App! We hope you find it useful.