Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 915 Bytes

File metadata and controls

51 lines (34 loc) · 915 Bytes

Expense Analyzer

Bank transaction analyser. Import CSV exports from your bank, detect recurring expenses and income, and predict future months.

Setup

uv sync --extra ui

Run the UI

streamlit run expense_analyzer/ui.py

Opens at http://localhost:8501.

Run the CLI

uv run expense-analyzer --help
uv run expense-analyzer import transactions.csv
uv run expense-analyzer analyze
uv run expense-analyzer predict --month 2026-06
uv run expense-analyzer stats

The database is stored at data/expense-analyzer.db by default. Override with the EXPENSE_ANALYZER_DB environment variable or the --db flag.

Run tests

uv run pytest

Docker

Build:

docker build -t expense-analyzer .

Run (mounts ./data for database persistence):

docker run -p 8501:8501 -v $PWD/data:/data expense-analyzer

Opens at http://localhost:8501.