Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 944 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 944 Bytes

🌦 Python Weather App

A simple command-line weather application that fetches real-time weather data using the OpenWeather API.
Enter a city name, and the app will return details like temperature, humidity, pressure, and weather description.


🚀 Features

✅ Fetches live weather data for any city worldwide 🌍
✅ Displays temperature (°C), humidity (%), pressure (hPa), and weather description ☁️
✅ Uses the OpenWeather API for real-time data
✅ Simple and lightweight, built with Python 🐍


🛠 Installation

1️⃣ Clone the Repository

Open a terminal or command prompt and run:

git clone https://github.com/shardwiz/python-weather-app.git

cd weather-app

pip install requests

api_key = "YOUR_API_KEY"

python weather_app.py

Enter the city name: Tokyo
Weather in Tokyo:
Temperature: 22.3°C
Pressure: 1012 hPa
Humidity: 65%
Description: clear sky