{"id":49390064,"url":"https://github.com/ksganni/weather-app-using-python","last_synced_at":"2026-04-28T12:06:12.274Z","repository":{"id":307745468,"uuid":"1030592854","full_name":"ksganni/WEATHER-APP-USING-PYTHON","owner":"ksganni","description":"🌦️ A simple Python desktop app using tkinter that displays live weather info for any city via the OpenWeatherMap API.","archived":false,"fork":false,"pushed_at":"2025-08-01T23:47:29.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-02T00:36:36.354Z","etag":null,"topics":["openweathermap-api","python","python-dotenv","requests","tkinter-gui"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ksganni.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-01T23:17:56.000Z","updated_at":"2025-08-01T23:52:41.000Z","dependencies_parsed_at":"2025-08-02T00:36:38.188Z","dependency_job_id":"742087d5-5c82-4669-8b9c-84a156f81cfb","html_url":"https://github.com/ksganni/WEATHER-APP-USING-PYTHON","commit_stats":null,"previous_names":["ksganni/weather-app-in-python"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ksganni/WEATHER-APP-USING-PYTHON","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksganni%2FWEATHER-APP-USING-PYTHON","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksganni%2FWEATHER-APP-USING-PYTHON/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksganni%2FWEATHER-APP-USING-PYTHON/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksganni%2FWEATHER-APP-USING-PYTHON/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ksganni","download_url":"https://codeload.github.com/ksganni/WEATHER-APP-USING-PYTHON/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksganni%2FWEATHER-APP-USING-PYTHON/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32379677,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T11:25:28.583Z","status":"ssl_error","status_checked_at":"2026-04-28T11:25:05.435Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["openweathermap-api","python","python-dotenv","requests","tkinter-gui"],"created_at":"2026-04-28T12:05:57.787Z","updated_at":"2026-04-28T12:06:12.267Z","avatar_url":"https://github.com/ksganni.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌦️ Weather App in Python (tkinter + OpenWeatherMap API)\n\nA 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**.\n\n---\n\n## 📌 Features\n\n- 🌡️ Real-time weather data (temperature, weather description, wind speed)\n- 🖥️ tkinter-based GUI\n- ⚠️ API error handling (invalid city, no input, internet errors)\n\n---\n\n## 📷 Screenshots\n\n\u003cimg width=\"300\" height=\"330\" alt=\"Screenshot 2025-08-01 at 9 05 33 PM\" src=\"https://github.com/user-attachments/assets/e240e165-7ee4-47b6-b112-458663968320\" /\u003e\n\u003cimg width=\"300\" height=\"330\" alt=\"Screenshot 2025-08-01 at 9 05 42 PM\" src=\"https://github.com/user-attachments/assets/4f889202-74aa-4541-a06c-8fc8a40643a7\" /\u003e\n\u003cimg width=\"565\" height=\"330\" alt=\"Screenshot 2025-08-01 at 7 12 18 PM\" src=\"https://github.com/user-attachments/assets/f8549b62-49d4-4b2a-8900-5a9dc2da2270\" /\u003e\n\n---\n\n## 🎥 Demo Video\n\nhttps://github.com/user-attachments/assets/0669542f-814f-4560-aa88-b854f5c8239d\n\n---\n\n## 🛠️ Tech Stack\n\n- Python \n- tkinter (standard GUI library)\n- OpenWeatherMap API\n- requests\n- python-dotenv\n\n---\n\n## 📁 Project Structure\n\n```\nweather_app/\n│\n├── main.py          # Main app code\n├── .env             # Stored API key ( not pushed to Github repo )\n├── .gitignore       # Hides files\n├── requirements.txt # Project dependencies\n└── README.md        # This file\n```\n\n---\n\n## ⚙️ Setup Instructions\n\n### 1️⃣ Clone the Repository\n\n```bash\ngit clone https://github.com/yourusername/weather_app.git\ncd weather_app\n```\n\n### 2️⃣ Create Virtual Environment\n\n🔹 **Windows:**\n```bash\npython -m venv venv\nvenv\\Scripts\\activate\n```\n\n🔹 **macOS/Linux:**\n```bash\npython3 -m venv venv\nsource venv/bin/activate\n```\n\n### 3️⃣ Install Dependencies\n\n```bash\npip install -r requirements.txt\n```\n\n### 4️⃣ Get Your API Key\n\n1. Go to [OpenWeatherMap API](https://openweathermap.org/api)\n2. Sign up for a free account\n3. Copy your API key from the **\"API Keys\"** section\n\n### 5️⃣ Add API Key to `.env` File\n\nCreate a `.env` file in the root of your project and add:\n\n```ini\nOPENWEATHER_API_KEY=your_api_key_here\n```\n\n🔐 **Never share this file or commit it to GitHub**\n\n### 6️⃣ Run the App\n\n```bash\npython main.py\n```\n\n---\n\n## 🧪 How to Use\n\n1. Launch the app\n2. Enter a **city name** (e.g., `London`)\n3. Click the **\"Get Weather\"** button\n4. View the temperature, weather condition, and wind speed\n\n---\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksganni%2Fweather-app-using-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fksganni%2Fweather-app-using-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksganni%2Fweather-app-using-python/lists"}