Skip to content

Weather Forecast Application is a command-line tool that retrieves real-time weather data for any city using the OpenWeatherMap API, providing current temperature and conditions in a user-friendly format.

Notifications You must be signed in to change notification settings

DanielAzeez/Weather-Forecast-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Weather-Forecast-Application

Description

A simple Python application that retrieves and displays current weather information for a specified city using the OpenWeatherMap API. It provides real-time weather updates and allows users to set reminders for weather checks.

Features

  • Fetches current weather data for any city.
  • Displays temperature, humidity, and weather conditions.
  • Allows users to set reminders for daily weather updates.

Prerequisites

  • Python 3.x
  • An API key from OpenWeatherMap

Installation

  1. Clone the repository:

    git clone https://github.com/DanielAzeez/Weather-Forecast-Application.git
  2. Navigate to the project directory:

    cd Weather-Forecast-Application
  3. Create a virtual environment:

    python3 -m venv venv
  4. Activate the virtual environment:

    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  5. Install the required packages:

    pip install -r requirements.txt

Usage

  1. Obtain your API key from OpenWeatherMap.

  2. Replace the placeholder in the code with your API key.

  3. Run the application:

    python weather_app.py
  4. Enter the city name when prompted to receive the current weather information.

About

Weather Forecast Application is a command-line tool that retrieves real-time weather data for any city using the OpenWeatherMap API, providing current temperature and conditions in a user-friendly format.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages