Skip to content
nafisa404Public

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Spendr

A Flask dashboard that turns a household transactions CSV into eight spending charts.

Charts

Chart What it shows
Monthly spending trends total expenses per month (line)
Category breakdown total expenses per category (bar)
Payment modes total amount per payment mode, across all transaction types (bar)
Spending heatmap expenses by year × month
Category-wise spending each category's share of expenses (pie)
Yearly spending total expenses per year
Quarterly spending total expenses per quarter
Category over time monthly expenses per category (stacked area)

Click a chart to enlarge it.

Run

Requires Python 3.10+.

python -m venv .venv
.venv/bin/pip install -r requirements.txt          # Windows: .venv\Scripts\pip
.venv/bin/python app.py                            # Windows: .venv\Scripts\python app.py

Then open http://127.0.0.1:5000.

Data

Daily Household Transactions.csv holds 2,461 transactions in INR from January 2015 to September 2018. Columns:

Column Example
Date 20/09/2018 12:04:08 or 19/09/2018 (day first, time optional)
Mode Cash, Saving Bank account 1
Category, Subcategory Food, snacks
Note free text
Amount 60
Income/Expense Expense, Income, Transfer-Out
Currency INR

To use your own data, replace the CSV with one that has the same columns.

Project structure

app.py                  load the CSV, draw the charts, serve the page
templates/index.html    dashboard page
requirements.txt
Daily Household Transactions.csv
static/                 generated chart images (created at runtime, not committed)

Other projects in this repo

Each folder is self-contained, with its own README, requirements.txt and tests.

Folder What it does
initiative-tracker/ Streamlit app that computes health, rollups and risk flags for strategic initiatives from a CSV, and drafts a weekly status report for review before export.
meeting-assistant/ Streamlit app that extracts decisions, action items, open questions and follow-ups from meeting notes. Every item is reviewed before the email, status update and .ics export. Includes an evaluation against hand-labelled samples.

Run either one from its folder: pip install -r requirements.txt, then streamlit run app.py.

Notes

  • The charts are redrawn on every page load, so the first load takes a few seconds.
  • Most charts count only Expense rows. The payment-mode chart sums every row, including income and transfers.
  • Charts are written to static/ as shared files, so two people loading the page at the same moment can overwrite each other's images. That's fine for local use but not for multi-user hosting.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages