Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

💰 Expense Tracker (Python CLI)

A simple Command Line Expense Tracker built using Python. This project allows users to record their daily expenses, view all recorded expenses, and calculate the total amount spent.

✨ Features

  • ➕ Add a new expense
  • 📋 View all expenses
  • 💵 Calculate total spending
  • 🚪 Exit the application
  • 📦 Stores expenses in a list of dictionaries (runtime memory)

🛠️ Technologies Used

  • Python 3
  • Lists
  • Dictionaries
  • Loops
  • Conditional Statements
  • User Input

📂 Project Structure

Expense-Tracker/
│
├── expense_tracker.py
└── README.md

🚀 How to Run

  1. Clone the repository
git clone https://github.com/your-username/Expense-Tracker.git
  1. Open the project folder
cd Expense-Tracker
  1. Run the program
python expense_tracker.py

📸 Menu

==== MENU ====

1. Add Expense
2. View All Expenses
3. View Total Spending
4. Exit

📌 Example

Add Expense

Date: 05/08/2026
Category: Food
Description: Pizza
Amount: 350

View Expenses

Expense 1
Date: 05/08/2026
Category: Food
Description: Pizza
Amount: 350

Total Spending

TOTAL SPENDING = 350

🧠 Concepts Practiced

  • Variables
  • Lists
  • Dictionaries
  • Loops
  • Conditional Statements
  • User Input
  • Basic Data Management

⚠️ Current Limitation

This project stores data only while the program is running.

Once the application is closed, all expense data is lost because it is not saved to a file or database.


🚀 Future Improvements

  • 💾 Save data in a JSON or CSV file
  • ✏️ Edit an expense
  • ❌ Delete an expense
  • 🔍 Search expenses
  • 📅 Filter by date
  • 📊 Category-wise spending summary
  • 📈 Dashboard with charts
  • 📤 Export to CSV/PDF/Excel
  • 🌙 Dark/Light theme (GUI version)
  • 🖥️ Tkinter or CustomTkinter desktop interface
  • 🌐 Web version using Flask or Django

👨‍💻 Author

Shailesh Maddhesiya

  • Python Developer
  • Full Stack Developer
  • Competitive Programmer

⭐ Support

If you found this project helpful, consider giving it a ⭐ on GitHub. It motivates me to build more useful projects.

About

A lightweight, extensible expense tracker built in Python.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages