59 Commits

Author SHA1 Message Date
ad9bc4a7c4
Adds plot with monthly income/spending
It separates the monthly transactions by categories and tracks income
and spending along the defined time range.
Now prints the total income/spending and the net result for the define
period of time.
Plot code is surrounded with an if False for future toggle on/off.
2020-09-09 21:03:50 +01:00
7a587213c9
Adds Transactions derived from list
New `Transactions` class derived from `list` to add auxilliary methods to a
transaction list.
New get_transactions_by_(year,month,category) methods return dict sorted
by (year,month,category).
Also adds sort_by_bank inplace.
2020-08-07 20:55:49 +01:00
2eecd2191a
Ancilliary methods to retrieve categories by type
Get methods added for income, fixed expenses, variable expenses and
discretionary expenses.
Search has regex check to detect placeholder category. Removes the need
for an additional search.
2020-08-07 20:47:17 +01:00
ca12d1846c
Automatic and manual categorization
reader.py is removed, with main.py becoming the main function where all
others are called from.
All categories added on categories.py, each with its own search function
and regex. The categorize function is also defined on the base class

The parsers have been cleaned to a more strimmed version. Each parser has
its own parse method and encoding and separator attributes.

The `Transaction` class has been incremented with all the comparator
methods. It also has the read and write from file methods.

The transactions.pickle is no longer used, since changes can be done
directly to the parsed data in the data_dir, making the file unused. A
manual categorization function has been created to help fill in the
gaps, interchangeable with directly editing the parsed .csv files. The
master record of data are the .csv present in the data_dir.
2020-08-04 20:42:29 +01:00
41d599c025
Adds parsers for multiple bank/cards
All parsers defined in parsers.py.
main.py is the calling script and reader/writer.
2020-07-11 22:26:06 +01:00
a70ca6951c
Trades tabs from report with formatting honey 2020-07-06 21:56:23 +01:00
02bf111b6d
Moves plotting to its own function 2020-07-06 21:11:07 +01:00
fa511b5e42
Adds stacked area chart to track expenditure 2020-07-06 21:06:31 +01:00
1619ee8561
Initial commit
Working csv reader, which reorders the transactions on transaction.csv
based on date. Then it aggregates the information per month based on the
used categories, and prints that information.
2020-12-03 22:39:55 +00:00