Skip to content

snehab-1/Weather-Report-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌦 Weather Report System

A small Flask backend service that fetches time-series weather data from the Open-Meteo API and generates:

  • πŸ“Š An interactive web dashboard with a chart
  • πŸ“‘ An Excel export (.xlsx)
  • πŸ“„ A PDF report with chart

πŸš€ Features

  • Fetch last 48 hours of hourly temperature & humidity data
  • Save results to SQLite database
  • Web dashboard (/) with:
    • Fetch Weather Data button (AJAX, no page reload)
    • Auto-updating chart (temperature & humidity vs time)
    • Export buttons (Excel + PDF)
  • REST API endpoints for programmatic access:
    • GET /weather-report?lat={lat}&lon={lon}
    • GET /export/excel
    • GET /export/pdf

πŸ›  Installation / Run Local

git clone https://github.com/snehab-1/weather-report-system.git
cd weather-report-system
or download the zip file to your local
pip install -r requirements.txt

Run below command in command prompt or terminal

python app.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors