Skip to content

ali-faraz-py/python-weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌦️ Modern Weather App

Weather App Demo

A sleek, modern desktop weather application built with Python and PyQt5. This app provides real-time weather data, including temperature, humidity, and wind speed, using a beautiful dark-mode interface with smooth gradients and glassmorphism effects.

✨ Features

  • Real-time Data: Fetches live weather information from the OpenWeatherMap API.
  • Detailed Metrics: Displays temperature (Celsius), humidity (%), and wind speed (m/s).
  • Dynamic Icons: Changes weather emojis (β˜€οΈ, ❄️, 🌧️, β›ˆοΈ, etc.) based on the specific weather condition ID.
  • Modern UI: Features a custom CSS-styled interface with a gradient background and hover effects.
  • Robust Error Handling: Specific feedback for "City Not Found," connection issues, and invalid API requests.
  • Scrollable Content: Responsive layout using QScrollArea for a clean look on all screen sizes.

πŸš€ Installation

  1. Clone the repository:
    git clone [https://github.com/ali-faraz-py/python-weather-app.git](https://github.com/ali-faraz-py/python-weather-app.git)
    cd python-weather-app
    
    

Install dependencies:

pip install -r requirements.txt

Run the application:

python weatherapp.py

πŸ“‚ Project Structure

python-weather-app/
β”œβ”€β”€ weatherapp.py       # Main Python logic & PyQt5 Layout
β”œβ”€β”€ weatherapp.css      # Custom styling & glassmorphism theme
β”œβ”€β”€ requirements.txt    # Project dependencies
β”œβ”€β”€ README.md           # Project documentation
└── assets/             # App screenshots and demo GIF

πŸ› οΈ Built With

PyQt5 - The GUI framework for the desktop experience.

Requests - For handling API communication.

OpenWeatherMap API - Source for global real-time weather data.

Custom QSS - For the modern "Slate & Sky" theme.

πŸ‘€ Author

Syed Ali Faraz - https://github.com/ali-faraz-py

If this project helped you learn PyQt5, please give it a ⭐!

About

🌦️ SkyCast Weather: A sleek PyQt5 desktop app featuring a Glassmorphism UI. Fetches real-time data via OpenWeatherMap API. Includes dynamic weather icons, error handling, and responsive CSS-styled layouts. Built with Python. 🌬️

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors