Converts Quicken Interchange Format (QIF) formatted bank transaction files to Open Financial Exchange (OFX) format.
It is a plugin for ofxstatement.
pip install ofxstatement-qif
ofxstatement convert -t qif transactions.qif transactions.ofx
ofxstatement edit-config
And enter e.g. this:
[qif]
plugin = qif
currency = USD
account = Quiffen Default Account
separator = \n
day-first = true
encoding = utf-8