Updated ofx.py
Christopher Singley
csingley at gmail.com
Wed Sep 22 09:02:29 EDT 2010
Hi, I'm doing some work implementing OFX in Python, for a project
unrelated to GnuCash. Of interest to the GnuCash community may be the
OFX client, which is a complete rewrite of Steve Dunham's original
ofx.py script (hopefully a little nicer to use). My client is
essentially fully configurable from the shell and/or config files, so
you can string together multiple accounts in a single
request/response, specify start/end dates for transaction download,
change the version of Quicken/Money spoofed on a per-institution
basis, etc.
I'm grateful to the GnuCash community, in particular Steve and Jeremy
Jongsma, for putting OFX-related resources out there. They've been
very helpful in doing my work, which I'm happy to make available if it
would be of use to anyone. I've put the code up here:
http://github.com/csingley/pyofx
A few notes:
1) This is developed under Python 2.6. It ought to work under py2.5
with perhaps a little __future__ jiggery-pokery, but it shouldn't work
under <=py2.4.
2) My project depends on http://formencode.org . While this is
integral to the operation of the parser, it's arguably a bit
heavyweight if you're just interested in the client functions.
Hopefully "easy_install formencode" is not a show-stopper for anybody.
3) This is very much work in progress, and it will change. In
particular, I'm likely to change the command-line switches, with which
I'm dissatisfied.
4) I'm a finance guy, not a software guy - a hobby coder - so please
set your coding quality expectations accordingly low.
I welcome feedback/suggestions.
More information about the gnucash-user
mailing list