Skip to content

vinvli/agent-skills-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Expenses App

A simple command-line expense tracking application built with Python.

Features

  • ✅ Add expenses with description, amount, and category
  • ✅ View all expenses
  • ✅ Filter expenses by category
  • ✅ Calculate total expenses
  • ✅ View breakdown by category
  • ✅ Automatic data persistence (saves to JSON file)

Requirements

  • Python 3.7 or higher

Installation

  1. Clone or download this project
  2. No external dependencies needed - uses Python standard library only

Usage

Run the application:

python main.py

Menu Options

  1. Add expense - Record a new expense with description, amount, and category
  2. View all expenses - Display all recorded expenses
  3. View expenses by category - Filter and view expenses for a specific category
  4. Get total expenses - See total amount spent and breakdown by category
  5. Exit - Close the application

Example

=== Expenses App ===
1. Add expense
2. View all expenses
3. View expenses by category
4. Get total expenses
5. Exit

Enter your choice (1-5): 1
Description: Coffee
Amount: €4.50
Category (e.g., food, transport, entertainment): food
✓ Expense added successfully!

Data Storage

Expenses are automatically saved to expenses.json in the application directory. Your data persists between sessions - when you restart the app, all your previous expenses will be loaded automatically.

Future Enhancements

  • Edit and delete expenses
  • Date range filtering
  • Export to CSV
  • Expense visualizations
  • Budget tracking and alerts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages