A command-line expense tracker built with Python that helps users record expenses, organize spending by category, and monitor their budget.
- 📝 Expense Tracking: Enter an expense name and amount.
- 🗂️ Expense Categories: Categorize expenses into Food, Home, Work, Fun, and Miscellaneous.
- 💾 File Handling: Store expenses in a CSV file for persistent recordkeeping.
- 📊 Category-wise Summary: Calculate spending for each expense category.
- 💵 Budget Monitoring: View total spending and the remaining budget.
- 📅 Daily Budget Estimation: Estimate the budget available per remaining day of the month.
- Python 3
datetime— Date and time calculationscalendar— Month and day calculations- CSV file handling — Expense storage
expense-tracker/
├── expense.py
├── expense_tracker.py
├── expenses.csv
└── README.md
- Python 3 installed on your system
- A terminal or code editor
-
Clone the repository:
git clone https://github.com/Namitha-04/expense-tracker
-
Navigate to the project folder:
cd expense-tracker -
Run the application:
python expense_tracker.py
- Enter the expense name.
- Enter the expense amount.
- Choose an expense category.
- The application saves the expense to a CSV file.
- View the spending breakdown, total expenses, remaining budget, and estimated daily budget.
- Python functions and modules
- Classes and objects
- Lists, loops, and dictionaries
- User input and validation
- File reading and writing
- CSV data storage
- String formatting and f-strings
- Date and calendar calculations
- Allow users to set a custom monthly budget.
- Add options to edit and delete expenses.
- Generate monthly spending reports and charts.
- Improve input validation and error handling.
- Integrate a database such as SQLite.
- Build a graphical or web-based interface.
This project was built to practice Python programming fundamentals and develop a practical application for tracking personal expenses.
Made with 🐍 Python