Skip to main content

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

Project description

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.

Tests

Run the tests with python:

python -m unittest tests.test_parse

Homepage

http://sites.google.com/site/ofxparse

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ofxparse-0.7.tar.gz (6.3 kB view details)

Uploaded Source

Built Distributions

ofxparse-0.7-py2.7.egg (15.5 kB view details)

Uploaded Egg

ofxparse-0.7-py2.6.egg (15.4 kB view details)

Uploaded Egg

ofxparse-0.7-py2.5.egg (9.1 kB view details)

Uploaded Egg

File details

Details for the file ofxparse-0.7.tar.gz.

File metadata

  • Download URL: ofxparse-0.7.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ofxparse-0.7.tar.gz
Algorithm Hash digest
SHA256 7ed1b833102ddc92377ac3c7a08ab58ecec7339c85f38c2f6c28c789e9948765
MD5 183a3fa25f48cf92302cbf79a42d2d17
BLAKE2b-256 872e733f51d90a30b3af5b030174900b99f30289310b071526ef408f84a40096

See more details on using hashes here.

File details

Details for the file ofxparse-0.7-py2.7.egg.

File metadata

  • Download URL: ofxparse-0.7-py2.7.egg
  • Upload date:
  • Size: 15.5 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ofxparse-0.7-py2.7.egg
Algorithm Hash digest
SHA256 316847ee6cb441697182aec45b0473b2258038d099994013d9d3d6215cdbb72e
MD5 7994d9c32fd27b30dcc5698e9519a30a
BLAKE2b-256 e669ce77951582c644bcafcc084fc20938ae3d13a722eb9d185d6f6e7181e8d4

See more details on using hashes here.

File details

Details for the file ofxparse-0.7-py2.6.egg.

File metadata

  • Download URL: ofxparse-0.7-py2.6.egg
  • Upload date:
  • Size: 15.4 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ofxparse-0.7-py2.6.egg
Algorithm Hash digest
SHA256 7ca9684fdb723fe497b50ea71e38eeebb21cd71e27754c785cdd718f5acccbdc
MD5 f24196bbcf32ff969713b5e73c81372a
BLAKE2b-256 82ec8b757e26196abea60408903725292606d5990320d4f8ebeec92f22eb3314

See more details on using hashes here.

File details

Details for the file ofxparse-0.7-py2.5.egg.

File metadata

  • Download URL: ofxparse-0.7-py2.5.egg
  • Upload date:
  • Size: 9.1 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ofxparse-0.7-py2.5.egg
Algorithm Hash digest
SHA256 baa231dd34f1528e762e82cdfe2c5ff03ac8464372d63bdecdbba6c254aedaba
MD5 64c252cfa6a7ddbfe5bb2e03cca3fe3d
BLAKE2b-256 c8c9d9c2892f9719f7a85c81111fecdf2c072ded2f091bd6578bbde1f403e172

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page