/bankanalyzer

OFX files plotter

Primary LanguagePythonMIT LicenseMIT

bankanalyzer

BankAnalyzer is a (very) simple application that takes a directory as an input, searches for every OFX file in it, and outputs plots of the bank account records found in these files.

It is also possible to specify aliases for the discovered bank accounts in a json file.

Developer's corner

Configure virtual environment :

  • On windows :
py -m venv venv
.\venv\Scripts\activate
pip install -r requirements.txt
  • On linux :
sudo apt install libcairo2-dev pkg-config python3-dev
python3 -m venv venv
source env/bin/activate
pip install -r requirements.txt

If you need to install new packages, please update and commit the requirements.txt as follow :

pip install my_new_package
pip freeze > requirements.txt

You are now ready to execute bankanalyzer's GUI with :

python3 -m bankanalyzer

Or directly :

python3 -m bankanalyzer path/to/ofx/folder

The executable bankanalyzer can be compiled to a single executable with pyinstaller :

  • On linux :
  • On windows :
pyinstaller --clean --onefile --paths venv\Lib\site-packages --name "bankanalyzer" exe.py