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.
- OpenWeatherMap API - To fetch the weather information.
- CustomTkinter - A modern and customizable Python UI library based on Tkinter.
- TkinterMapView - A Python Tkinter widget to display tile-based maps.
- Github Copilot - To get autocomplete code suggestions 😅.
- Clone the repository from Github
git clone https://github.com/hnhparitosh/cli_mate.git- Install the requirements
pip install -r requirements.txt- Get the API_KEY from OpenWeatherMap and set it in the
.envfile asAPI_KEY.
python cli_mate.py --city "New Delhi"python cli_mate.py -lat 28.6139 -lon 77.2090Just 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.
Please leave a ⭐ if you like this repository.



