This is a real-time weather forecast app that returns the current temperature, maximum and minimum temperature, humidity, and wind speed of the searched city. In addition to this, the application provides an amazing user interface.
- Tkinter: To create this Graphical User Interface (GUI), I have used a Python
Tkinter
Library which allows to insert text boxes, various texts, buttons, etc. - PIL: PIL is the Python Imaging Library which provides the python interpreter with image editing capabilities.
- json: API response in in the form of
json
. So, to handle it, this module is used. Thiscomes built in with Python. - requests: It is used for making HTTP requests to a specified URL. This module does not comes built in with Python. To install it type the below command in the terminal.
I have used Openweathermap API which simply accepts a name of location where weather need to fetched and the API key.
You can directly use this app on your laptop or computer. Simply download this zip file and you'll get one .exe
file. Even if you do not have Python installed on your PC, you can run that file and use this application.