Skip to content

A CLI and GUI tool to fetch weather forecast for a place

Notifications You must be signed in to change notification settings

hnhparitosh/cli_mate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLI-Mate

This is a simple tool to get the weather information of a city using the OpenWeatherMap API.

You can use CLI-Mate, the CLI tool to get the weather updates using a City Name or the Coordinates, or use GUI-Mate, the GUI tool to get the weather information by using a Map View.

Technologies used

Installation

  1. Clone the repository from Github
git clone https://github.com/hnhparitosh/cli_mate.git
  1. Install the requirements
pip install -r requirements.txt
  1. Get the API_KEY from OpenWeatherMap and set it in the .env file as API_KEY.

Usage

CLI with City Name

python cli_mate.py --city "New Delhi"

CLI with Coordinates

python cli_mate.py -lat 28.6139 -lon 77.2090

GUI

Just run the gui_mate.py file. 📍 Pin and location on the map. The weather information will be displayed on the left side of the window.

Screenshots

Output of CLI using City Name

CLI using City Name

Output of CLI using Coordinates

CLI using Coordinates

GUI Demonstration

GUI

GUI

Please leave a ⭐ if you like this repository.

About

A CLI and GUI tool to fetch weather forecast for a place

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages