A command-line budget tracker to manage income, track expenses, analyze spending, and calculate the remaining budget.
- Add Income: Record income with amount and category.
- Add Expense: Track expenses with amount and category.
- Calculate Remaining Budget: View your available balance.
- Analyze Expenses: Get a breakdown of spending by category.
- Persistent Storage: Transactions are saved in a JSON file.
- Python 3.x installed on your system.
- Clone the repository:
git clone https://github.com/YOUR_GITHUB_USERNAME/YOUR_REPO_NAME.git cd YOUR_REPO_NAME - Run the script:
python budget_tracker.py
When you run the script, you will see a command menu: Budget Tracker Menu:
- Add Income
- Add Expense
- Calculate Remaining Budget
- Analyze Expenses
- Exit
- π΅ Adding an Income Entry:
- Enter the income amount.
- Provide a category (e.g., Salary, Bonus, Freelance).
- ποΈ Adding an Expense Entry:
- Enter the expense amount.
- Provide a category (e.g., Rent, Groceries, Entertainment).
- π° Calculating Remaining Budget:
- The program will sum total income and total expenses to show the remaining budget.
- π Analyzing Expenses:
- The program will display a category-wise expense breakdown.
- β£ π transactions.json # Stores transactions persistently
- β£ π budget_tracker.py # Main script
- β π README.md # Documentation
Feel free to fork the repository and submit pull requests! π
This project is licensed under the MIT License.
- Harshsa
- π§ vinjamuriharsha123@gmail.com
- π LinkedIn | GitHub