Skip to content

SamyamCodesavvy/weather-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Weather App

Introduction

This Python-based Weather App leverages the OpenWeatherMap API to provide real-time weather information for user-specified cities. It displays essential weather details such as temperature, weather condition, and showcases corresponding weather icons.

Features and Functionality

  • Live Weather Data: Fetches current weather data from the OpenWeatherMap API.
  • Display Information: Shows temperature, weather condition, and location.
  • Visual Representation: Presents weather information using graphical weather icons.

Implementation

Prerequisites

  • Python installed on your system.
  • Required Python libraries: tkinter, requests, PIL, ttkbootstrap.

Installation and Setup

  1. Install Python.
  2. Install necessary Python libraries using pip:
    pip install tkinter requests pillow ttkbootstrap
    
  3. Copy the provided Python code into a new file.
  4. Replace the placeholder API key with your personal OpenWeatherMap API key.

Usage

  1. Run the Python script.
  2. Input the desired city name in the provided text field.
  3. Click the "Search" button to retrieve and exhibit the weather details.
  4. Weather specifics like location, temperature, and weather condition will be showcased, accompanied by a weather icon.

Conclusion

The Weather App delivers real-time weather data, enhancing user accessibility to current weather information. Its intuitive interface and graphical representations make it a user-friendly tool for obtaining weather forecasts conveniently.

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages