Expense Splitter
Project Description:
The Expense Splitter is a Python-based application designed to help users manage, view, edit, and split their expenses efficiently. It leverages the rich library to present data in a visually appealing tabular format, making it easier to comprehend financial details.
Features:
- Add Expenses: Add new expense records, including type, amount, and a descriptive note.
- View Expenses: Display all expenses in a well-formatted table.
- Edit Expenses: Update details of an existing expense entry.
- Remove Expenses: Delete an expense record.
- Split Expenses: Calculate and display the cost share for a group of individuals.
- Exit: Quit the application gracefully.
Dependencies:
- Rich Library: Used to create visually appealing tables. Install using: pip install rich
How to Use:
- Run the script to start the Expense Splitter application.
- Use the interactive menu to perform various operations:
- Select options by entering their corresponding numbers (1–6).
- Follow prompts to input expense details or commands.
- View expenses and their details in an attractive table.
- Split total expenses among a specified number of people.
- Exit the application once done.
Example Usage:
Welcome to the Expense Splitter.
- Add an Expense
- View an Expense
- Edit an Expense
- Remove an Expense
- Split Expenses
- Exit Enter the choice(1/2/3/4/5): 1
Enter the type of expense: FOOD
Enter the amount spent: 50
Enter a note to describe the expense: dinner
Expense added successfully!