Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/altamsh04/live-weather-application
- Owner: altamsh04
- Created: 2023-02-28T21:49:10.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-15T19:37:33.000Z (about 1 year ago)
- Last Synced: 2024-01-16T01:12:22.658Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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. 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.