https://github.com/r0h1th-1dd4e2/python-project
A Project using PYTHON and WEATHER API
https://github.com/r0h1th-1dd4e2/python-project
python weather
Last synced: 3 months ago
JSON representation
A Project using PYTHON and WEATHER API
- Host: GitHub
- URL: https://github.com/r0h1th-1dd4e2/python-project
- Owner: R0h1th-1DD4E2
- Created: 2023-03-27T08:30:07.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-04-11T10:28:47.000Z (about 2 years ago)
- Last Synced: 2025-01-17T14:55:19.879Z (5 months ago)
- Topics: python, weather
- Language: Python
- Homepage:
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Weather App :sun_behind_small_cloud:
This is a simple weather application that allows users to search for weather information for any city in the world.## 🚀 Installation
1. Clone this repository to your local machine using https://github.com/never-knewto-code/Python-Project.git
2. Install the required packages using pip install -r requirements.txt
3. Obtain an API key from https://openweathermap.org/api and save it in a .env file in the project directory as API_KEY=your_api_key
## 🎯 Usage
1. Run python weather_app.py in your terminal.
2. Select a city from the dropdown list.
3. Click the "Get Weather" button to display the weather information for the selected city.
## 🌟 Features
1. Uses the OpenWeatherMap API to obtain weather information.
2. Dropdown list of cities is populated using the GeonamesCache library.
3. Displays temperature, humidity, pressure, and weather description for the selected city.
Displays an icon representing the current weather conditions for the selected city.
## 🔧 Dependencies
+ requests
+ json
+ tkinter
+ PIL
+ geonamescache
+ dotenv
## 🤝 Contributors
Contributions are welcome! Please feel free to submit a pull request.