Rewrite as uv-based Flask web app with Dockerfile

- Flask dashboard with Plotly charts (stores, monthly, hourly, weekday, heatmap)
- Spotify Wrapped-style summary with year dropdown and inflation toggle
- CSV upload flow (ephemeral, no storage)
- Homepage with upload and saved data options
- Import script for loading CSVs into SQLite
- Dockerized with gunicorn for production

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-13 17:27:06 -04:00
parent ab5db9d645
commit e28d71fa5a
8 changed files with 926 additions and 2 deletions

15
pyproject.toml Normal file
View File

@@ -0,0 +1,15 @@
[project]
name = "weakness"
version = "0.1.0"
description = "DoorDash spending dashboard"
requires-python = ">=3.14"
dependencies = [
"flask>=3.1.3",
"plotly>=6.6.0",
"numpy>=2.0",
"gunicorn>=25.1.0",
]
[project.scripts]
weakness = "app:app.run"
import-csv = "import_csv:main"