csv2qif
is a simple command line script written in Python that helps you converting list of transactions exported from your bank in csv
format into qif
file that may be used in programs like HomeBank.
I recommend using conda
, here are the steps:
- Clone this repo:
git clone <url>
- Enter the folder:
cd csv2qif-core
- Create a conda environment:
conda env create -f environment.yml
- Activate the environment:
conda activate csv2qif
- Install script and plugins you need:
python setup.py install
- Check if it works:
> csv2qif --help
> csv2qif-plugins
> csv2qif --help
Usage: csv2qif [OPTIONS] CSV_FILE [list of available plugins] OUTPUT_QIF_FILE
Options:
-a, --account-name TEXT
--help Show this message and exit.
Example:
> csv2qif transactions.csv ing transactions.qif
Script knows how to convert input csv
file into output qif
file because of the selected plugin, which is responsible for this part of job.
###Listing available plugins
> csv2qif-plugins
ing, mbank, millennium
It's really simple - plugin is a single Python file with the logic. I propose you to check one of the available plugins, adapt the file with the plugin's code to your needs, install your new plugin and run it.