deepankarvarma / Weather-Application-Using-Python

This repository contains a Python-based Weather Application that utilizes the OpenWeatherMap API to analyze and display weather conditions for a specified location. The application retrieves current weather data and provides a 24-hour forecast in both tabular and graphical formats.

Home Page:https://deepankarvarma-weather-application-using-python-app-7lwssi.streamlit.app/

Repository from Github https://github.comdeepankarvarma/Weather-Application-Using-PythonRepository from Github https://github.comdeepankarvarma/Weather-Application-Using-Python

Weather Application Using Python

This repository contains code for analyzing the weather conditions of a location using the OpenWeatherMap API. The application retrieves current weather data and displays it in a tabular format. It also provides a graphical representation of the 24-hour weather forecast for the specified location.

Features

  • Retrieves and displays the current weather conditions for a given city.
  • Shows the description, temperature, humidity, and wind speed.
  • Retrieves and displays a 24-hour weather forecast for the specified location.
  • Tabulates the forecast data, including the timestamp and temperature.
  • Plots a graph of the temperature variation over the next 24 hours.

Usage

  1. Install the necessary dependencies by running pip install -r requirements.txt.
  2. Obtain an API key from OpenWeatherMap by signing up on their website.
  3. Set your API key as an environment variable or directly in the code (API_KEY = '<your-api-key>').
  4. Run the application by executing python weather_application.py.
  5. Access the application through the provided Streamlit link or by visiting http://localhost:8501 in your browser.
  6. Enter the name of the city for which you want to analyze the weather conditions.
  7. The application will display the current weather information and the 24-hour forecast in both tabular and graphical formats.

Streamlit Link

Access the Weather Application using this Streamlit link: Weather Application

Background Image

The application's background image is a dark purple texture, providing an aesthetically pleasing visual experience.

License

This project is licensed under the MIT License. Feel free to modify and use the code as per your needs.

Contributing

Contributions to this repository are welcome. If you have any suggestions or improvements, please create a pull request or open an issue.

Enjoy exploring the weather conditions of different cities with this Python-based Weather Application!

About

This repository contains a Python-based Weather Application that utilizes the OpenWeatherMap API to analyze and display weather conditions for a specified location. The application retrieves current weather data and provides a 24-hour forecast in both tabular and graphical formats.

https://deepankarvarma-weather-application-using-python-app-7lwssi.streamlit.app/


Languages

Language:Python 100.0%