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.

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.4.tar.gz (4.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

ofxparse-0.4-py2.7.egg (8.6 kB view details)

Uploaded Egg

ofxparse-0.4-py2.6.egg (8.6 kB view details)

Uploaded Egg

ofxparse-0.4-py2.5.egg (8.6 kB view details)

Uploaded Egg

ofxparse-0.4-py2.4.egg (8.8 kB view details)

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for ofxparse-0.4.tar.gz
Algorithm Hash digest
SHA256 1bf1b561e8d7ca42417d9e25c8a62a6a90a94482e2b54bd47e0cdb27d344fce3
MD5 801f2ce3f7f5b8d1d259ec888e546cbc
BLAKE2b-256 c90b38b31a21b5fdbd17143825ff465db92f9dcac82d460edc991e05700a9d6d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ofxparse-0.4-py2.7.egg
Algorithm Hash digest
SHA256 6241ad98dabb9470a2269096443ea65d1697940fc06a2481bd75b63a3fb5abd7
MD5 6061b12f665e01aacbed4360cdf18b04
BLAKE2b-256 7582d92fcdfa6477bb102a5a1cb35eee4d1486e4c2d8010137e5709fc85ff3fa

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ofxparse-0.4-py2.6.egg
Algorithm Hash digest
SHA256 24703ae6be627e840a0964d04b616a5959f0859ca1b188501372cba1ef05e1df
MD5 d2fa79bfcd06de348e84ce6e11c14ca6
BLAKE2b-256 d798d81e71e9ec0881bc1acbb0dbd2bc0fac825a9b475d5999522f614b52b80e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ofxparse-0.4-py2.5.egg
Algorithm Hash digest
SHA256 01da1ca9ecfb9104601da637fe64fe764064f424c28a3bb0410d4fe1c6bb3f53
MD5 ba67fbab3e7dba2aa3e099128fde455e
BLAKE2b-256 d45dfb81f9f61d0e819afdc0eb8e1b2e956f75eb25479c9c8d9a5e2f4c6b800c

See more details on using hashes here.

File details

Details for the file ofxparse-0.4-py2.4.egg.

File metadata

  • Download URL: ofxparse-0.4-py2.4.egg
  • Upload date:
  • Size: 8.8 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ofxparse-0.4-py2.4.egg
Algorithm Hash digest
SHA256 207070b02032e0260f6435d739062a9d1a805da6d120cb029828889a761b8f4c
MD5 487dcc4942434f039f1d158f5e34c566
BLAKE2b-256 72af24b7ea66f41f5233fbf2226071a1333fb263f584a2dcb1696a712d2a6a2f

See more details on using hashes here.

Supported by

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