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.
✅ 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 🐍
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