Loading repository dataβ¦
Loading repository dataβ¦
ksganni / repository
π¦οΈ A simple Python desktop app using tkinter that displays live weather info for any city via the OpenWeatherMap API.
A beginner-friendly desktop GUI application built in Python using tkinter that shows live weather information (temperature, description, and wind speed) based on city input using the OpenWeatherMap API.
https://github.com/user-attachments/assets/0669542f-814f-4560-aa88-b854f5c8239d
weather_app/
β
βββ main.py # Main app code
βββ .env # Stored API key ( not pushed to Github repo )
βββ .gitignore # Hides files
βββ requirements.txt # Project dependencies
βββ README.md # This file
git clone https://github.com/yourusername/weather_app.git
cd weather_app
πΉ Windows:
python -m venv venv
venv\Scripts\activate
πΉ macOS/Linux:
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
.env FileCreate a .env file in the root of your project and add:
OPENWEATHER_API_KEY=your_api_key_here
π Never share this file or commit it to GitHub
python main.py
London)