Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💰 Smart Expense Analyzer

Project Banner

Live Demo Python Flask Pandas Status

A lightweight, data-driven web application to track, analyze, and visualize personal finances.


📖 Project Context

Why this project? Financial literacy starts with awareness. I built the Smart Expense Analyzer to bridge the gap between complex finance apps and simple spreadsheets. This project demonstrates how Python can be used to build a full-stack solution that not only records data but provides actionable insights through visualization and logic-based advice.

It solves the "black hole" spending problem by offering instant feedback on where money is going, without requiring a heavy database setup.

✨ Key Features

  • 📉 Dynamic Visualization: Automatically generates charts to visualize spending distribution.
  • ⚡ Lightweight Architecture: Uses a flat-file CSV system for data persistence, ensuring zero-latency reads/writes.
  • 📊 Smart Categorization: Tags expenses (Food, Travel, Bills) for granular analysis.
  • 💡 Budget Advice: A dedicated module that analyzes your data and offers financial tips.
  • 📱 Responsive UI: Clean HTML/CSS interface that works across devices.

🛠 Tech Stack

  • Backend: Python, Flask
  • Data Processing: Pandas (CSV manipulation, aggregation)
  • Visualization: Matplotlib
  • Frontend: HTML5, CSS3, Jinja2 Templating
  • Deployment: Replit

🚀 How to Run Locally

Instructions to set up the project on your local machine.

  1. Clone the repository bash git clone https://github.com/yourusername/SmartExpenseAnalyzer.git cd SmartExpenseAnalyzer

  2. Install dependencies bash pip install flask pandas matplotlib

  3. Run the application bash python main.py

  4. Access the App Open your browser and navigate to http://127.0.0.1:5000/

📂 Project Structure

📦 SmartExpenseAnalyzer
 ┣ 📂 static
 ┃ ┗ 📜 style.css        # Custom styling
 ┣ 📂 templates
 ┃ ┣ 📜 index.html       # Dashboard / Home
 ┃ ┣ 📜 chart.html       # Visualization page
 ┃ ┣ 📜 summary.html     # Expense summary & Breakdown
 ┃ ┗ 📜 advice.html      # Logic-based budget tips
 ┣ 📜 main.py            # Main Flask application logic
 ┣ 📜 expenses.csv       # Data storage (Auto-generated)
 ┗ 📜 README.md          # Documentation

🔮 Future Roadmap

  • Database Migration: Upgrade from CSV to SQLite/PostgreSQL for scalability.
  • User Auth: Implement Login/Signup functionality.
  • Report Export: Generate PDF monthly reports.
  • AI Insights: Use basic ML to predict future expenses.

👨‍💻 Author

Punith Kumar

About

A full-stack Python web application for tracking personal finances with data visualization and budget insights

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages