A beautiful command-line weather application that displays current weather and forecasts with colorful ASCII art!
- 🎨 Beautiful ASCII Art Weather Icons - Visual representation of weather conditions (sunny, cloudy, rainy, snowy).
- 🌡️ Current Weather Details - Temperature, condition, humidity, and wind speed.
- 📅 5-Day Forecast - Extended weather predictions with max/min temperatures.
- 🎨 Colorful Output - Enhanced terminal experience with
colorama. - 🔤 ASCII Art Title - Stylish header using
pyfiglet.
- Python 3.6 or higher
- Internet connection (to fetch weather data)
- Clone or download this repository.
- Install required packages:
pip install requests pyfiglet colorama
- Visit WeatherAPI.com.
- Sign up for a free account.
- Navigate to your dashboard and copy your API key.
You must manually add your API key to the script.
- Open
Weather.pyin a text editor. - Find this line:
API_KEY = "YOUR_API_KEY_GOES_HERE"
- Replace
YOUR_API_KEY_GOES_HEREwith your actual API key:API_KEY = "your_actual_api_key_here"
- Save the file.
Run the script from your terminal:
python Weather.py