Wooble
Back to Swayam's profile
Verified on Wooble

Student Expense Tracker

A Python CLI tool that lets college students track daily expenses, view spending by category, and stay within budget — entirely offline, zero dependencies.

SwayamStudent Expense Tracker

Overview

College students in India manage money across UPI, canteens, travel, and recharges — but rarely know where it all goes. Existing finance apps need internet, account creation, and often push ads. Most students on tight budgets don't always have reliable internet or a smartphone app they trust. There was a clear need for a simple, offline, zero-setup tool that runs straight from the terminal with no install. The challenge: build something genuinely useful that a first-year student could run and benefit from on day one. Process I started by reading the brief carefully and mapping out the data structure before writing any code — a list of dictionaries, where each expense holds a date, amount, category, and note. I built each feature as a standalone function so they could be tested independently. The budget warning was added last as a cross-cutting check across all menu options. I paid close attention to input validation since CLI tools break easily on bad input — wrong dates, non-numeric amounts, and invalid categories are all handled gracefully. Finally, I pre-loaded three realistic Indian-context sample expenses so reviewers see working output the moment they run it, without adding anything themselves. Results The program runs without errors on all tested inputs. A student can type python expense_tracker.py and instantly see a working menu with sample data. Adding an expense takes under 10 seconds. The category bar chart makes it immediately clear where money is going. The budget warning gives a proactive heads-up at 80% before overspending happens. Bad inputs — wrong dates, letters instead of numbers, unknown categories — are all caught and explained without crashing. All five menu options work and return cleanly to the menu loop. The experience feels complete, not like a rough student project. Reflection The program runs without errors on all tested inputs. A student can type python expense_tracker.py and instantly see a working menu with sample data. Adding an expense takes under 10 seconds. The category bar chart makes it immediately clear where money is going. The budget warning gives a proactive heads-up at 80% before overspending happens. Bad inputs — wrong dates, letters instead of numbers, unknown categories — are all caught and explained without crashing. All five menu options work and return cleanly to the menu loop. The experience feels complete, not like a rough student project.

Links & files

Artifacts

3

Gallery

2