Giter Club home page Giter Club logo

weatherapp's Introduction

WeatherApp

A PyQt5 graphical weather application using OpenWeatherMap API, the program retrieves weather data and updates it regularly.

What does the program do ? :

  • Finds the city name entered by the user as well as its namesakes

  • Displays current weather data for the choosen location :

    • Current temperature with a description and an icon
    • Feels like temperature
    • Max/min temperature
    • Wind speed
    • Wind direction (degree and cardinal)
    • Wind score and description in Beaufort scale
    • Pressure (hP)
    • Visibility (km)
    • Humidity
    • Sunrise/sunset time
    • Next hours weather (6h) with hours, icons, temperatures and wind speeds
  • Displays forecast weather data for the choosen location (7 days). For each day :

    • Week day
    • Min/max temperature
    • Weather description
    • Weather icon
  • User can change some options

    • Use their own API key (OpenWeatherMap API)
    • Change the temperature unit
      • Celcius
      • Fahrenheit
      • Kelvin
    • Change the wind speed unit
      • km/h
      • m/s
      • mph
    • Change the refresh timer
  • The program periodically checks the status of the Internet connection, if it goes down, some buttons are deactivated and the refresh countdown is paused until a connection is found.

  • User preferences are saved in a binary file which will be loaded each time the application is started

  • The local time is displayed in brackets for each city name chosen

  • A countdown is displayed in the option tab allowing to know when the next refresh will take place

  • A 'verify' button is used to verify the validity of an API key before saving the parameters

  • A rectangular zone at the bottom of the window is used to display the status messages

Screenshots

Location

location

Current weather

current

Forecast weather

forecast

Options

option

Different units display

mosaic_units

Connection cut detected

no_connection

Required

  • PyQt5
  • Python 3.8

weatherapp's People

Contributors

kartmaan avatar

Watchers

 avatar  avatar

weatherapp's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.