Skip to content

manyworldss/expense.tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Expense Tracker A simple Python application for tracking personal expenses using dataclasses and type hints. Features

Track expenses (amount, category, description) Automatic date tracking CSV export functionality

Usage

Create a new expense expense = Expense( amount=50.0, category="Food", description="Grocery shopping" )

With custom date

from datetime import datetime expense = Expense( amount=100.0, category="Transportation", description="Train ticket", date=datetime(2024, 1, 15) )

Requirements

Python 3.7+

No external dependencies

Structure

The Expense class stores:

Amount (float) Category (str) Description (str) Date (Optional[datetime]) - defaults to the current date

Future Features:

Data visualization

Budget tracking

GUI interface

Database storage

License MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages