Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python-Weather-App

Weather App

A simple desktop weather application built with Python and Tkinter.

Search for cities around the world and view current weather conditions, detailed weather information, and a 7-day forecast with daily high and low temperatures.

Features

  • 🌍 Search for cities worldwide
  • 🌡️ Current temperature
  • 🌤️ Weather conditions and icons
  • 🤒 Feels-like temperature
  • 💧 Humidity
  • 💨 Wind speed and direction
  • 🌧️ Current precipitation
  • ☁️ Cloud cover
  • 📊 Atmospheric pressure
  • 🌅 Sunrise and sunset times
  • 📅 7-day forecast
  • 🔺 Daily high temperature
  • 🔻 Daily low temperature
  • 🌧️ Daily precipitation probability

Requirements

You need:

  • Python 3.10 or newer
  • An internet connection
  • The requests Python package
  • Tkinter

The application uses the Open-Meteo weather API, so an internet connection is required to retrieve weather data.


Windows

1. Install Python

Download Python from the official Python website:

https://www.python.org/downloads/windows/

During installation, make sure you tick "Add Python to PATH".

2. Open the Weather App folder

Open the folder containing the Weather App.

3. Install Requests

Open Command Prompt in the folder and run:

pip install requests

If that doesn't work, try:

python -m pip install requests

4. Run the application

Run:

python weather.py

Replace weather.py with the actual name of your Python file if it is different.


macOS

1. Install Python

Download Python from:

https://www.python.org/downloads/macos/

Install Python 3.10 or newer.

2. Open Terminal

Open Terminal and navigate to the folder containing the Weather App.

For example:

cd ~/Downloads/WeatherApp

3. Install Requests

Run:

python3 -m pip install requests

4. Run the application

Run:

python3 weather.py

Replace weather.py with the actual name of your Python file if necessary.

Tkinter on macOS

If Tkinter isn't available with your Python installation, install a Python version that includes Tk support or use the official Python installer from python.org.


Linux

1. Install Python

Most Linux distributions already include Python.

Check your version:

python3 --version

You should have Python 3.10 or newer.

If Python isn't installed, install it using your distribution's package manager.

Ubuntu / Debian

sudo apt update
sudo apt install python3 python3-pip python3-tk

Fedora

sudo dnf install python3 python3-pip python3-tkinter

2. Install Requests

Run:

python3 -m pip install requests

3. Run the application

Run:

python3 weather.py

Replace weather.py with the actual filename if necessary.


How To Use

  1. Start the application.
  2. Enter the name of a city in the search box.
  3. Press Search or press Enter.
  4. The application will retrieve the weather information.
  5. Scroll through the 7-day forecast to see the expected conditions, daily high, daily low, and precipitation probability.

Internet Connection

An internet connection is required because the application retrieves weather information from the Open-Meteo API.

If you receive a connection error, check your internet connection and try searching again.

Credits

Made by Dillon Boam

GitHub: DillonBoam11

Copyright © 2026 Dillon Boam.

All rights reserved.

Weather Data

Weather data is provided by Open-Meteo.

https://open-meteo.com/

License

This project is not released under an open-source license.

Copyright © 2026 Dillon Boam. All rights reserved.

See the repository's copyright notice for the applicable usage restrictions.

About

This is a weather app that uses Python

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages