Skip to content

Weather Application that show realtime weather details and news of that particular location.

License

Notifications You must be signed in to change notification settings

PankajKrana/Weather_application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather and News Application

This is a simple Weather and News application built using Python and the Tkinter GUI library. The application allows users to get real-time weather information and relevant news articles based on the input city.

Features

  • Weather Information: Provides current weather details such as temperature, humidity, and wind speed for a specified city.
  • News Integration: Fetches news articles related to the specified city using the News API.
  • User-Friendly Interface: Simple and intuitive graphical user interface (GUI) built with Tkinter.
  • Background Image: The application uses a background image to enhance visual appeal.

Prerequisites

  • Python 3.x
  • Tkinter (usually included with Python)
 pip install tk
 pip install requests
 pip install pillow

Getting Started

  1. Clone the repository or download the code files.
  git clone https://github.com/PankajKrana/Weather_application.git
  1. Install the required libraries using pip install -r requirements.txt (if you have a requirements file).
  2. Run the weather_app.py file.

Usage

  1. Launch the application.
  2. Enter the desired city in the provided input field.
  3. Click the "Get Weather & News" button to fetch weather information and news for the specified city.
  4. The weather information and news articles will be displayed on the interface.
  5. Optionally, click the "Show News" button to open a separate window displaying news articles in a larger text area.

Screenshots

Here is the screenshot of application

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Weather data provided by WeatherAPI
  • News articles provided by NewsAPI
  • Icons and images used in the application are credited to their respective sources.

About

Weather Application that show realtime weather details and news of that particular location.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages