Skip to content

Working example of a Python application using weather data

github repo

https://github.com/amitrajpurkar/weather_app

git clone git@github.com:amitrajpurkar/weather_app.git

intent of this application

  • python EDA data sci app
  • use data from csv
  • show graphical analysis on webpage
  • give buttons/ links for user to click and choose which graphs to paint
  • showcase usage of proper project structure/ organization
  • showcase usage of testcases/ TDD

quick start

uv sync
python main.py

# navigate to http://127.0.0.1:5000

features added

  • Windsurf Cascade as AI Code Assistant
  • Entire project structure created using Cascade
  • prompt_interaction.md contains entire conversation with Cascade
  • FEATURES.md contains list of features added

tech stack within python eco system

  • UV for package management
  • flask8 for quick api and app-server support?
  • pandas for reading/ analysing weather data
  • weather data downloaded from kaggle
  • showing charts/ graphs using matplot seabreeze, etc

to be tried..

  • google search queries..
  • pandas python load csv into flask sqlalchemy in memory
  • in python how to load data from csv into in memory database
  • python print tabular data as html
  • https://flask.palletsprojects.com/en/stable/quickstart/
  • https://uibakery.io/crud-operations/flask
  • https://github.com/divanov11/Simple-REST-API-with-Flask/blob/master/app.py