A Simple Demonstration of using PyQT and APIs in Python
Make sure you have PyQT5
, Pyuic5
, aiohttp-3.7.4.post0
, request
installed in your system before using this
Paste the command in the terminal or powershell
> sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev python-tk python3-tk tk-dev pyqt5 aiohttp-3.7.4.post0 request pyuic5
- Get API_KEY from Open Weather Map
- Paste your API_KEY on line 111 in the file named "app.py" for openweathermap
- Get API_KEY from Windy
- Paste your API_KEY on line 174 in the file named "app.py" for windy
python3 app.py
pyuic5 file_name.ui -o file_name.py