A sleek desktop weather app built with Python and CustomTkinter, fetching real-time data from OpenWeatherMap, Geopy, and TimezoneFinder. Features interactive maps, animated icons, and city search with auto-suggestions.
- 🔍 Search by city with auto-suggestions
- 📊 Current weather: Temperature, humidity, wind speed, and conditions
- 🗺️ Interactive map (via
tkintermapview) - 🌈 Lottie animations for dynamic weather icons
- ⏰ Real-time timezone and location handling
- 📜 Search history tracking
- Language: Python 3.x
- GUI: CustomTkinter (modern UI)
- APIs:
- 🌤️ OpenWeatherMap (weather data) — Get your API key and save it in a
.envfile - 📍 Geopy (geocoding)
- 🕒 TimezoneFinder (timezone detection)
- 🌤️ OpenWeatherMap (weather data) — Get your API key and save it in a
- Map: tkintermapview (interactive maps)
- Animations: Lottie JSON files
- Clone the repository:
git clone https://github.com/1efferson/weatherapp.git cd weatherapp - Set up the virtual environment:
# macOS/Linux source venv/bin/activate# Window venv\Scripts\activate - Install dependencies:
pip install -r requirements.txt - 🚨 Restart VSCode before launching the app to ensure all dependencies and environment paths are loaded correctly.
- Run the app:
python WeatherApp_main.py
- If the app crashes or dependencies aren’t detected, restart VSCode and re-activate the virtual environment.
- Ensure your API keys (OpenWeatherMap) are properly configured in the app.
⚠️ Background Image Responsiveness on Windows
Currently, the app's background image does not resize correctly on Windows systems. This is a known issue and is actively being worked on to ensure full cross-platform compatibility.
I welcome contributions and collaborations! If you're interested in improving or extending the app:
- 🍴 Fork the repository
- 📥 Open a pull request with your improvements
- 💬 Or simply open an issue to suggest ideas
Let’s build something great together! 🚀


