A simple command-line expense tracking application built with Python.
- ✅ Add expenses with description, amount, and category
- ✅ View all expenses
- ✅ Filter expenses by category
- ✅ Calculate total expenses
- ✅ View breakdown by category
- ✅ Automatic data persistence (saves to JSON file)
- Python 3.7 or higher
- Clone or download this project
- No external dependencies needed - uses Python standard library only
Run the application:
python main.py- Add expense - Record a new expense with description, amount, and category
- View all expenses - Display all recorded expenses
- View expenses by category - Filter and view expenses for a specific category
- Get total expenses - See total amount spent and breakdown by category
- Exit - Close the application
=== Expenses App ===
1. Add expense
2. View all expenses
3. View expenses by category
4. Get total expenses
5. Exit
Enter your choice (1-5): 1
Description: Coffee
Amount: €4.50
Category (e.g., food, transport, entertainment): food
✓ Expense added successfully!
Expenses are automatically saved to expenses.json in the application directory. Your data persists between sessions - when you restart the app, all your previous expenses will be loaded automatically.
- Edit and delete expenses
- Date range filtering
- Export to CSV
- Expense visualizations
- Budget tracking and alerts