Skip to content

R0h1th-1DD4E2/Python-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 

Repository files navigation

Weather App 🌤️

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.

About

A Project using PYTHON and WEATHER API

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages