Build a professional command-line weather application that fetches real-time weather data from the Open-Meteo API (free, no API key needed!) and displays it beautifully in the terminal. This project combines API consumption, decorators, type hinting, error handling, and testing.
urllib — no external dependencies!)🌤️ WEATHER CLI
===============
Enter city name: Gaza
╔══════════════════════════════════════╗
║ 📍 Gaza, Palestinian Territory ║
╠══════════════════════════════════════╣
║ 🌡️ Temperature: 28.3°C ║
║ 💧 Humidity: 65% ║
║ 💨 Wind Speed: 12.5 km/h ║
║ ☀️ Condition: Clear sky ║
╚══════════════════════════════════════╝
cd projects/04_weather_cli
python solution.py
Note: This project uses the free Open-Meteo API — no API key or sign-up required!