This is a simple Expense Tracker application built using Python and SQLite. It allows users to add, view, and delete expenses, view a monthly summary, and visualize expenses using a pie chart.
✅ Add expenses with amount, category, description, and date. ✅ View all recorded expenses. ✅ Delete an expense by ID. ✅ View a monthly summary of expenses. ✅ Pie chart visualization of expenses for better insights.
- Clone the repository:
git clone https://github.com/yourusername/expense-tracker.git cd expense-tracker
- Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
- Install dependencies:
pip install -r requirements.txt
- Run the script:
python main.py
- Run the script and choose an option from the menu.
- Enter details when prompted.
- View expenses and analyze your spending patterns.
graph TD;
Start -->|Choose Option| Menu[Main Menu]
Menu -->|1. Add Expense| AddExpense[Enter Details]
AddExpense -->|Save to DB| Menu
Menu -->|2. View Expenses| ViewExpenses[Show All Expenses]
ViewExpenses --> Menu
Menu -->|3. Delete Expense| DeleteExpense[Enter ID to Delete]
DeleteExpense -->|Remove from DB| Menu
Menu -->|4. View Monthly Summary| MonthlySummary[Show Summary and Pie Chart]
MonthlySummary --> Menu
Menu -->|5. Exit| End
- Add user authentication.
- Export expense reports in CSV format.
- Implement a web-based UI for better accessibility.