Keeps track of your personal expenses.
- visualizes your expenses by self defined categories
- automatically categorizes transactions imported form CSV files
- outputs an interactive html report
- Python 3 (3.6 or later)
- install dependent packages with
pip install -r requirements.txt
Interactive demo report: sample/sample-report.html
- Clone repository
- Adapt the file expenses_report/config.py
- define the path to the folder which contains your CSV files (either absolute or relative to the project directory)
CSV_FILES_PATH = 'sample'
- specify column names of the CSV files in the
import-mapping
dictionaryimport_mapping = { DATE_COL: ['Date', 'Valuta'], ... }
- define
categories
of interest and add keywords as they occur in your transactionscategories = { ... 'Fixed costs': { 'Dwelling': ['Rent'], 'Insurances': ['Insurance', 'Allianz', 'HUK'] }, ... }
- define the path to the folder which contains your CSV files (either absolute or relative to the project directory)
- execute run.py
- the script outputs a list of all uncategorized transactions on the command line for further refinement of the keywords