A simple Expense Tracker Desktop Application built with Python, Tkinter, SQLite3, and Matplotlib.
This project is designed for beginners to learn GUI programming, database handling, and data visualization in Python.
You can add, update, delete, and view expenses, along with a pie chart showing spending by category.
The repository also includes a sample expenses.db database so you can experiment right away.
- β Add new expense records
- β Update existing records
- β Delete records easily
- β View expenses in a table (Treeview)
- β Pie chart visualization of spending by category
- β User-friendly interface with hover effects
- Python 3.x
- Tkinter β GUI framework
- SQLite3 β Database for storing expenses
- Matplotlib β Pie chart visualization
π¦ Expense-Tracker
β£ π expenses.db # Preloaded SQLite database (for learners)
β£ π expense_tracker.py # Main application code
β£ π README.md # Project guide (this file)
-
Clone the repository
git clone https://github.com/your-username/expense-tracker.git cd expense-tracker -
Install required libraries
pip install matplotlib
(Tkinter & SQLite3 come pre-installed with Python)
-
Run the app
python expense_tracker.py
A sample expenses.db is included with a few records so you can instantly see how things work.
You can delete it anytime β the app will create a new database automatically.
Feel free to fork this repo and play around with:
- Adding search/filter options
- Exporting data to CSV/Excel
- Adding monthly/weekly summaries
This project is free to use for learning purposes.