biweeklybudget.backfill_ofx module¶
-
class
biweeklybudget.backfill_ofx.
OfxBackfiller
(savedir)[source]¶ Bases:
object
Class to backfill OFX in database from files on disk.
-
_do_account_dir
(acct_id, acct_name, cat_memo, path)[source]¶ Handle all OFX statements in a per-account directory.
Parameters:
-
_do_one_file
(updater, path)[source]¶ Parse one OFX file and use OFXUpdater to upsert it into the DB.
Parameters: - updater (biweeklybudget.ofxupdater.OFXUpdater) – OFXUpdater instance for this class
- path (str) – absolute path to OFX/QFX file
-
-
biweeklybudget.backfill_ofx.
main
()[source]¶ Main entry point - instantiate and run
OfxBackfiller
.