Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.07 KB

README.md

File metadata and controls

32 lines (20 loc) · 1.07 KB

Personal Finance Tracker

This Python script is a simple personal finance tracker that allows users to record their income and expenses, calculate their remaining budget, and display spending trends.

Features

  • Record income and expense transactions.
  • Calculate the remaining budget based on recorded transactions.
  • Display spending trends using a pie chart.

Prerequisites

  • Python 3.x
  • matplotlib library for plotting charts (pip install matplotlib)

Usage

  1. Ensure you have Python 3.x installed on your system.

  2. Install the matplotlib library by running:

    pip install matplotlib
  3. Run the script finance_tracker.py.

  4. Follow the on-screen instructions to record transactions, calculate the remaining budget, display spending trends, and exit the program.

Script Structure

  • transactions.json: JSON file used to store recorded transactions.
  • finance_tracker.py: Main Python script containing functions to load, save, record transactions, calculate the remaining budget, display spending trends, and run the main program loop.