Skip to content

wzietak/WeatherApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌤️ Weather App

A user-friendly weather application built with Streamlit. It allows you to:

  • Check current weather conditions for any city and country.
  • View historical daily weather data going back up to 20 years.

Features

  • Input by city and country name.
  • Real-time weather: temperature, humidity, cloudiness, wind, pressure, rain, snow.
  • Historical weather: temperature, humidity, wind speed, cloudiness, precipitation, and pressure.
  • Date range selection for historical data.
  • Built-in country code conversion using pycountry.
  • Uses Streamlit session state to manage responses.

Tech Stack


Getting Started

Prerequisites

Installation

Clone the repository:

git clone https://github.com/your-username/weather-app.git
cd weather-app

Install the required dependencies: pip install -r requirements.txt

Create a .streamlit/secrets.toml file for your API key:

[api]
key = "your_openweathermap_api_key"

Run the App: streamlit run app.py

⚠️ Please note: code comments and documentation strings are written in Polish, as this project was developed as part of a university course at Nicolaus Copernicus University in Toruń, Poland.

About

Simple Streamlit app for viewing current and historical weather by city and country. Created as a university project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages