Skip to content

Commit 833bab5

Browse files
committed
Update README.md
1 parent 7a4d5f7 commit 833bab5

File tree

1 file changed

+64
-2
lines changed

1 file changed

+64
-2
lines changed

README.md

Lines changed: 64 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,64 @@
1-
# python-weather-app
2-
🌤️ Python Weather App — A beautiful and responsive desktop weather application built with Python that fetches real-time weather data for a default location (e.g., Iraq/Karbala) and displays it with a clean, graphical interface.
1+
2+
# 🌤️ Python Weather App
3+
4+
A simple and beautiful desktop weather application built with Python and Tkinter.
5+
It fetches real-time weather data from **OpenWeatherMap** for a default location (🇮🇶 Karbala, Iraq) and presents it with a clean and graphical user interface.
6+
7+
---
8+
9+
## ✨ Features
10+
11+
- 📍 Default weather info for Karbala, Iraq
12+
- 🌡️ Real-time temperature and description
13+
- 🌄 Weather icons (auto-loaded from OpenWeatherMap)
14+
- 🔄 Refresh button to update data instantly
15+
- 🎨 Clean, minimal, and responsive UI
16+
- ✅ No database required — works out of the box
17+
18+
---
19+
20+
## 🛠️ Requirements
21+
22+
- Python 3.x
23+
- `requests` module
24+
- `Pillow` module (for image processing)
25+
26+
Install dependencies:
27+
28+
```bash
29+
pip install requests pillow
30+
```
31+
32+
---
33+
34+
## 🔑 Setup API Key
35+
36+
1. Go to [OpenWeatherMap](https://openweathermap.org/api) and create a free account.
37+
2. Get your API key.
38+
3. Open `main.py` and replace:
39+
40+
```python
41+
API_KEY = "your_openweathermap_api_key"
42+
```
43+
44+
with your actual API key.
45+
46+
---
47+
48+
## ▶️ Run the App
49+
50+
```bash
51+
python main.py
52+
```
53+
54+
---
55+
56+
## 📸 Screenshot
57+
58+
![App Screenshot](screenshot.png)
59+
60+
---
61+
62+
## 🙌 Author
63+
64+
Made with ❤️ by [Mostafa Baghi](https://github.com/mostafabaghi)

0 commit comments

Comments
 (0)