Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

BudgetIQ โ€“ Smart Expense Tracker

#DecodeLabs Industrial Training intern :- Chittem Gowri Sankar college :- Viswam Engineering College


๐Ÿš€ What Makes This Different

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

๐Ÿ“ Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                  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  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Setup & Run

Pure Python 3.10+ โ€” no pip installs needed

python expense_tracker.py


Key Python Concepts Used

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

About

A smart CLI expense tracker with budget alerts and category reports | DecodeLabs Internship 2026

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages