Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Expense Tracker CLI

A simple command-line expense tracker built with Python. This app helps you keep track of your expenses, calculate totals, and analyze spending by category.

🚀 Features:

Add expenses with amount, category, and date. View all recorded expenses. Calculate total spending. See spending breakdown by category. Stores data locally in a text file (expenses.txt).

📂 Project Structure: expense_tracker.py # Main script expenses.txt # Data file (auto-created)

Installation & Usage

Clone the repo: git clone https://github.com/your-username/expense-tracker-cli.git cd expense-tracker-cli

Run the script:

python expense_tracker.py

Use the menu to add and view expenses. Example === 💸 Expense Tracker CLI ===

  1. Add Expense
  2. View All Expenses
  3. View Total Spent
  4. View by Category
  5. Exit Choose an option (1–5): 1

Enter amount (₹): 250 Enter category (e.g. Food, Transport, Shopping): Food Enter date (YYYY-MM-DD): 2025-08-16 ✅ Expense added successfully!

📖 Requirements

Python 3.x

🛠️ Future Improvements

Export data to CSV/Excel.

Add monthly summaries.

Add a simple GUI or mobile app version.

📜 License

This project is licensed under the MIT License.

About

A Expense Tracker CLI built with Python. It allows you to add expenses, view all expenses, calculate total spending, and analyze spending by category — all stored in a local text file.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages