Skip to content

This is my final project for CS50's Introduction to Programming with Python.

Notifications You must be signed in to change notification settings

ema-ventrella/weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Weather Application

Description

This Weather Application is a Python-based tool for retrieving and displaying weather information. It utilizes APIs to fetch real-time weather data and presents it in an easy-to-understand format.

Installation

  1. Clone the repository to your local machine.
  2. Install the required dependencies:
    pip install -r requirements.txt
    

Usage

Run the application using the following command:

python weather_app.py

Available Weather Information Commands

To retrieve weather information, input the following keywords when prompted, along with the corresponding unit of measurement:

  • Temperature: Type temperature (Unit: °C)
  • Apparent Temperature: Type temperatureapparent (Unit: °C)
  • Humidity: Type humidity (Unit: %)
  • Wind Speed: Type windspeed (Unit: m/s)
  • Wind Direction: Type winddirection (Unit: degrees)
  • Wind Gust: Type windgust (Unit: m/s)
  • Cloud Cover: Type cloudcover (Unit: %)
  • Cloud Base: Type cloudbase (Unit: m)
  • Cloud Ceiling: Type cloudceiling (Unit: m)
  • Visibility: Type visibility (Unit: m)
  • Dew Point: Type dewpoint (Unit: °C)
  • UV Index: Type uvindex (Unit: index)
  • UV Health Concern: Type uvhealthconcern (Unit: index)
  • Pressure at Surface Level: Type pressuresurfacelevel (Unit: hPa)
  • Rain Intensity: Type rainintensity (Unit: mm/h)
  • Sleet Intensity: Type sleetintensity (Unit: mm/h)
  • Snow Intensity: Type snowintensity (Unit: mm/h)
  • Freezing Rain Intensity: Type freezingrainintensity (Unit: mm/h)
  • Precipitation Probability: Type precipitationprobability (Unit: %)
  • Weather Code: Type weathercode (Unit: code)

These commands and units correspond to the various weather data available through the application. Please ensure to type them exactly as shown to get accurate results.

Requirements

  • Python 3.12.x
  • Other dependencies are listed in requirements.txt.

Contact

For any queries or feedback, please contact ema.ventrella@gmail.com.

About

This is my final project for CS50's Introduction to Programming with Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages