A desktop weather application built with Python that provides real-time weather forecasts.
This application fetches weather data from the Open-Meteo API and displays current conditions, hourly temperature and precipitation forecasts. Users can search for locations or use their current location to get weather information.
- Current weather conditions (temperature, precipitation, wind speed)
- 24-hour temperature and precipitation forecasts
- Location search via OpenStreetMap geocoding
- Auto-detection of user's current location
- Recent locations history
- Save forecast charts as images
-
Clone the repository:
git clone https://github.com/axpico/python-weather-app.git cd python-weather-app -
Install the required dependencies:
pip install -r requirements.txt
Run the application:
python src/main.py
- Enter a location in the search box or click "Use My Location"
- View current weather conditions and forecasts
- Use the "Refresh Data" button to update the weather information
- Save the forecast chart using the "Save Forecast" button
The application requires the following Python packages:
- requests
- tkinter
- matplotlib
- geocoder
See requirements.txt for specific version requirements.
This project is licensed under the terms of the LICENSE file included in the repository.
Contributions are welcome! Please feel free to submit a Pull Request.
March 26, 2025