This is a weather app I created using python, tkinter and the openweathermap API. This is a university project but it is here, for reference purposes.
This was made and tested with Python 3.12.
git clone https://github.com/syndrizzle/weather-app.git
cd weather-app
pip install -r requirements.txt
python app.py
Starting Screen:
When it displays the weather:
I made this compatible with pyinstaller (It was giving some problems initially), if you don't like running the app.py
file again and again, you can create a one click executable to launch this.
pip install pyinstaller
pyinstaller --onefile --add-data "path\to\weather-app\fonts;fonts" --add-data "path\to\weather-app\icons;icons" --add-data "path\to\weather-app\ui;ui" --add-data "path\to\weather-app\api.py;." --icon "path\to\weather-app\icons\launcher\icon.png" --add-data "path\to\weather-app\config.json;." --noconsole app.py
[!WARNING]
Replacepath\to
with the actual path of the app, a complete path is necessary for it to work. For eg:c:\weather-app