Skip to content

An intuitive and lightweight web app to help you track your personal expenses, categorize spending, and visualize spending patterns using interactive charts.

Notifications You must be signed in to change notification settings

githubWithGHANA/PersonalExpenseTracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

<title>Personal Expense Tracker</title>

πŸ“Š Personal Expense Tracker [@Ghanshyam]

An intuitive and lightweight web app to help you track your personal expenses, categorize spending, and visualize spending patterns using interactive charts.

πŸš€ Features

  • Add daily expenses with date, category, amount, and description
  • Load existing expenses from a CSV file
  • Save current expenses to a CSV file
  • Visualize spending by category using a bar chart
  • Persistent data handling via Streamlit session_state

πŸ› οΈ Technologies Used

  • Python
  • Streamlit – for UI and app deployment
  • Pandas – for data manipulation
  • Matplotlib & Seaborn – for data visualization

πŸ“¦ Installation & Setup

# Clone the repository
git clone https://github.com/your-username/personal-expense-tracker.git
cd personal-expense-tracker

Install dependencies

pip install streamlit pandas matplotlib seaborn

Run the Streamlit app

streamlit run app.py

πŸ“ Replace app.py with your actual Python file name if different.

✍️ How to Use

  1. Add Expense: Use the sidebar to input date, category, amount, and description.
  2. Save to CSV: Save your entries to a local CSV file using the sidebar button.
  3. Load Expenses: Upload an existing CSV file to reload your expense data.
  4. Visualize Data: Click the "Visualize Expenses" button to view your spending habits.

πŸ“ˆ Sample Visualization

The app uses Seaborn to display a bar chart comparing the total amount spent per category. Charts update dynamically based on the entered data.

πŸ“‚ File Structure


β”œβ”€β”€ app.py
β”œβ”€β”€ expenses.csv  # (optional) generated by saving expenses
└── README.md
  

πŸ™Œ Acknowledgments

Thanks to:

  • Streamlit for making Python apps so easy to build
  • The amazing Python community for the libraries powering this tracker

About

An intuitive and lightweight web app to help you track your personal expenses, categorize spending, and visualize spending patterns using interactive charts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages