Skip to content

palakgupta29/Expense-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’° Expense Tracker (Tkinter + SQLite + Matplotlib)

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.


πŸš€ Features

  • βœ… 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

πŸ› οΈ Tech Stack

  • Python 3.x
  • Tkinter β†’ GUI framework
  • SQLite3 β†’ Database for storing expenses
  • Matplotlib β†’ Pie chart visualization

πŸ“‚ Project Structure

πŸ“¦ Expense-Tracker
 ┣ πŸ“œ expenses.db       # Preloaded SQLite database (for learners)
 ┣ πŸ“œ expense_tracker.py  # Main application code
 ┣ πŸ“œ README.md          # Project guide (this file)

▢️ How to Run

  1. Clone the repository

    git clone https://github.com/your-username/expense-tracker.git
    cd expense-tracker
  2. Install required libraries

    pip install matplotlib

    (Tkinter & SQLite3 come pre-installed with Python)

  3. Run the app

    python expense_tracker.py

πŸ“Š Sample Database

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.


πŸ“Έ Screenshots

Expense Tracker Screenshot


🀝 Contributing

Feel free to fork this repo and play around with:

  • Adding search/filter options
  • Exporting data to CSV/Excel
  • Adding monthly/weekly summaries

πŸ“œ License

This project is free to use for learning purposes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages