Skip to content

dranix611/python-weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

🌦 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages