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

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

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.