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://github.com/jseutter/ofxparse/tree/master

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

Uploaded Source

Built Distributions

ofxparse-0.1-py2.6.egg (5.0 kB view details)

Uploaded Egg

ofxparse-0.1-py2.5.egg (5.0 kB view details)

Uploaded Egg

ofxparse-0.1-py2.4.egg (5.1 kB view details)

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for ofxparse-0.1.tar.gz
Algorithm Hash digest
SHA256 91bb4fd28ee5dfdc2ae911340a0d2cd9ef90025a0062a148e4d047c8b83abfc5
MD5 0dfe9903653275bd858ea193e61bdee9
BLAKE2b-256 3b4d18b7971aec828b86602a752ff2b495654f47c2d4b054a44349336d33d688

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ofxparse-0.1-py2.6.egg
Algorithm Hash digest
SHA256 0ff060d78435bbd70a05cb748d440484495116405bbd6ebcd62cb9cbf7db2245
MD5 f6981fefaf92d583f6781d9f47e6c9bd
BLAKE2b-256 4db2b6a85ab949431a609146fa854da7e65e43a3c25195805d92d95af5e700c3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ofxparse-0.1-py2.5.egg
Algorithm Hash digest
SHA256 2d75c89300e373f905dfaf003dd34175e5b7443ed7dbadc25af8dde8f1223bec
MD5 091d223f64834b1fc41a955a5e361b19
BLAKE2b-256 d485bf39201c8fd0b275a7eaf630dfc24dc8d9ad4ae49a971f8ee020727a7f85

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ofxparse-0.1-py2.4.egg
Algorithm Hash digest
SHA256 5c108bf16b9fb7bbffdf528de26bc97c3f033d0aa7fa6d27d392c6491e618822
MD5 e59cc6536f545de0d344c83eb8d41f10
BLAKE2b-256 04ee23ac992aaefe38bba31794f8ef3f7551435a750a23d0065eec2df7394cb7

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