#DecodeLabs Industrial Training intern :- Chittem Gowri Sankar college :- Viswam Engineering College
BudgetIQ is a personal finance management system built entirely with Python's standard library:
- Monthly Budget Tracking โ Set per-category budgets with real-time overspend alerts
- Live Budget Warnings โ Fires instantly after each entry if 80%+ of a category budget is used
- ASCII Spending Charts โ Visual bar charts per category, no external libraries
- Monthly Trend History โ Visual monthly breakdown with horizontal bar chart
- CSV Export โ Export full history to spreadsheet-compatible format
- Tracking Streak โ Counts consecutive days with at least one expense logged
- 7 Categories with Icons โ Food ๐ฝ, Transport ๐, Shopping ๐, Education ๐, Health ๐, Entertainment ๐ฎ
- Boot-time Alerts โ Warns on startup if any budget is at risk this month
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ BudgetIQ v2.0 โ
โโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโค
โ DATA LAYER โ BUSINESS โ VIEW โ
โ โโโโโโโโโโโโ โ โโโโโโโโโโโโ โ โโโโโโโโโโโโโโโโ โ
โ expenses.jsonโ add_expense() โ display_expenses โ
โ budgets.json โ get_total() โ category_report โ
โ CSV export โ get_by_cat() โ budget_tracker โ
โ โ check alerts โ monthly_summary โ
โโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโ
python expense_tracker.py
| Concept | Where Used |
|---|---|
defaultdict(float) |
Category aggregation |
sum() generator |
Running total |
csv.DictWriter |
CSV export |
date.today().strftime() |
Month filtering |
f-string {val:>10.2f} |
Currency formatting |
| Sentinel loop | while True + break |
| Poka-Yoke | try/except ValueError |
#Files
project2_expense_tracker/
โโโ expense_tracker.py โ Main application
โโโ test_expense.py โ Unit tests
โโโ expenses.json โ Auto-created on first run
โโโ budgets.json โ Budget configuration
โโโ expenses_export.csv โ Generated on export
โโโ README.md โ This file