skip to navigation
skip to content

Not Logged In

ofxparse 0.1

Tools for working with the OFX (Open Financial Exchange) file format

Latest Version: 0.14

ofxparse

ofxparse is a parser for Open Financial Exchange (.ofx) format files. OFX files are available from almost any online banking site, so they work well if you want to pull together your finances from multiple sources. Online trading accounts also provide account statements in OFX files.

There are three different types of OFX files. This library has been tested with BankAccount files. The other two types, CreditAccount and InvestmentAccount have not been tested. If you have a sample of these other types that could be used to help this project, please see the Help! section below.

Example Usage

Here's a sample program:

from ofxparse import OfxParser

ofx = OfxParser.parse(file('file.ofx'))
ofx.account                         # An account with information
ofx.account.number                  # The account number
ofx.account.routing_number          # The transit id (sometimes called branch number)
ofx.account.statement               # Account information for a period of time
ofx.account.statement.start_date    # The start date of the transactions
ofx.account.statement.end_date      # The end date of the transactions
ofx.account.statement.transactions  # A list of account activities
ofx.account.statement.balance       # The money in the account as of the statement date
ofx.account.statement.available_balance # The money available from the account as of the statement date

Help!

I'm looking for different types of accounts to make this library more robust. I'm looking for sample credit account or investment account files. Please (anonymize first) and mail to jseutter dot ofxparse at gmail dot com.

License

ofxparse is released under an MIT license. See the LICENSE file for the actual license text. The basic idea is that if you can use Python to do what you are doing, you can also use this library.

 
File Type Py Version Uploaded on Size
ofxparse-0.1-py2.4.egg (md5) Python Egg 2.4 2010-03-10 4KB
ofxparse-0.1-py2.5.egg (md5) Python Egg 2.5 2010-03-10 4KB
ofxparse-0.1-py2.6.egg (md5) Python Egg 2.6 2010-03-10 4KB
ofxparse-0.1.tar.gz (md5) Source 2010-03-10 2KB
  • Downloads (All Versions):
  • 64 downloads in the last day
  • 845 downloads in the last week
  • 3599 downloads in the last month