Skip to content

Working on a spending calculator since I'm lazy to log my daily expenses or to build an app which tracks messages on mobile

Notifications You must be signed in to change notification settings

ShyamSunder149/spending-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

spending-calculator

This is basically one of my needs to do a finance manager and I don't want to make an entry daily on what I spend and do. And I find myself lazy to code an app which can scrape the messages which comes to the phone and shows you stuff. So instead I used google takeout to export my activities in google pay as html file and updated it as input to my program so I can check the spendings every month end. Please feel free to check out and let me know your suggestions. TIA

Steps to take Google pay backup :

  • Go to google takeout, select google pay and export my activity and initiate a one time download at your convenience to either drive or as download link to mail
  • then put the path for -f flag with the main.py program

Try hitting

python3 main.py -h 
usage: main.py [-h] [-ecsv] [-avg] -f filename -y year

Spending tracker for Google Pay

options:
  -h, --help   show this help message and exit
  -ecsv        Export contents as CSV
  -avg         Show average per month spending
  -f filename  Path for the HTML file associated with the operation
  -y year      Year for which you want the records

Hope that helps!!

Features :

  • Export to Csv
  • Table view of expenses month wise
  • Average per month net expense
  • year wise expense

To-do :

  • fix category expenses
  • Pretty print output
  • Table display
  • Export to csv option
  • flags implementation
  • generalise year implementation
  • Average per month spending calculation
  • Calculate big expenses separately
  • Categorise big expenses
  • add separate implementation to add categories
  • Refactor the code

About

Working on a spending calculator since I'm lazy to log my daily expenses or to build an app which tracks messages on mobile

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages