Skip to content

Latest commit

 

History

History
66 lines (38 loc) · 1.71 KB

File metadata and controls

66 lines (38 loc) · 1.71 KB

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.