Skip to content

Build a Weather App using Python's Tkinter & OpenWeatherMap API. Input a city, receive real-time weather info - description, temperature, humidity. User-friendly interface for quick updates.

Notifications You must be signed in to change notification settings

Ananyasingh2002/PythonWeatherForecast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Weather App using OpenWeatherMap API and Tkinter

Weather app

This is a simple weather application that uses the OpenWeatherMap API to fetch weather data for a given city and displays it using a Tkinter GUI.

Features

  • Enter the name of a city to get its current weather details.

  • Displays weather description, temperature, and humidity.

  • Provides a user-friendly interface.

Requirements

  • Python 3

  • Tkinter library

  • requests library

Setup

  1. Clone this repository to your local machine.
https://github.com/Ananyasingh2002/PythonWeatherForecast.git
cd PythonWeatherForecast
  1. Install the required libraries if you haven't already.
pip install requests
  1. Replace API_KEY with your OpenWeatherMap API key in the Weather.py file.

  2. Run the application.

python Weather.py

Usage

  • Launch the application.

  • Enter the name of a city in the input field.

  • Press the "Get Weather" button or press Enter to fetch and display weather information.

Screenshots

After entering details

Contributing

Contributions are welcome! If you find a bug or want to add a new feature, feel free to create an issue or submit a pull request.

About

Build a Weather App using Python's Tkinter & OpenWeatherMap API. Input a city, receive real-time weather info - description, temperature, humidity. User-friendly interface for quick updates.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages