Expense Tracker is a Python-based expense management application designed to help me with python to dive deep in writing python code more structured and OOP based.
Features
Add Transactions – Record expenses with category, amount, and description.
Show Transactions – List all recorded transactions.
Show Balance – Calculate total income and expenses.
Delete Transactions – Remove a specific transaction by index.
Filtering Transactions – Filter expenses based on category, date, or amount.
Export to CSV – Save all transactions as a CSV file for external use.
Show Statistics – Get statistical insights into spending habits.
Analyze Monthly Expenses – Breakdown of expenses per month.
Calculate Daily Expenses – Determine average daily spending.
Category Analysis – View expenses per category.
Visualized Expenses – Graphs and charts for better insights.
Set Budget – Define a budget limit for spending.
Check Budget – Monitor spending against the set budget.
Cost Prediction – Predict future expenses based on past trends.
Installation & Setup
Clone the repository:
git clone https://github.com/yourusername/expense-tracker.git cd expense-tracker
Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
Install dependencies:
pip install -r requirements.txt
Run the application: python main.py
Usage
Once started, the application provides a command-line interface with options:
- Add transaction
- Show transactions
- Show balance
- Delete transaction
- Filter transactions
- Export to CSV
- Show statistics
- Analyze monthly expenses
- Calculate daily expenses
- Analysis per categories
- Visualized expenses
- Set budget
- Check budget
- Cost prediction
- Exit Follow the on-screen prompts to manage and analyze your expenses.
Future Improvements Maybe?
Web Dashboard – Convert CLI to a web-based UI.
Database Integration – Store data in a database instead of JSON.
AI Predictions – Advanced analytics using machine learning for expense forecasting.
License: mk0v4c3v1c