Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/altamsh04/live-weather-application

The Live Weather Application is a Python-based weather application that provides real-time weather information for a given city. The application utilizes web scraping techniques with the Beautiful Soup library to extract weather data from Google Search results and tkinter library used for UI.
https://github.com/altamsh04/live-weather-application

Last synced: 12 days ago
JSON representation

The Live Weather Application is a Python-based weather application that provides real-time weather information for a given city. The application utilizes web scraping techniques with the Beautiful Soup library to extract weather data from Google Search results and tkinter library used for UI.

Awesome Lists containing this project

README

        


Live Weather Application 🌥️








Live Weather Application's Screenshot





The Live Weather Application is a Python-based weather application that provides real-time weather information for a given city. The application utilizes web scraping techniques with the Beautiful Soup library to extract weather data from Google Search results. The graphical user interface (GUI) is built using the tkinter library, and the application also features weather icons to represent the current weather condition.

## Technologies Used
- Python

## Python Modules Used
1. **tkinter:** Used for creating the graphical user interface (GUI) to interact with the user.
2. **requests:** Enables sending HTTP requests to retrieve weather data from Google Search.
3. **Beautiful Soup (bs4):** Used for web scraping to extract information from the HTML response.

## Features
1. **City-based Weather Information:**
- Users can enter a city name, and the application fetches real-time weather data using web scraping.
2. **Current Weather Conditions:**
- Displays current weather conditions, including temperature, weather description, and time.
3. **Additional Weather Information:**
- Provides additional details such as precipitation, humidity, and wind speed.
4. **Weather Icons:**
- Displays weather icons corresponding to the current weather condition for a more visually appealing representation.

## How to Use
1. Clone the repository to your local machine.
```bash
git clone https://github.com/altamsh04/Live-Weather-Application.git
```
2. Install the required libraries using the following commands:
```bash
pip install requests
pip install beautifulsoup4
```
3. Run the Python script `weather.py`.
4. Enter the desired city in the provided input field.
5. Click the "Find Weather" button to retrieve and display the weather information.