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

Uploaded Source

Built Distributions

ofxparse-0.6-py2.7.egg (12.6 kB view details)

Uploaded Egg

ofxparse-0.6-py2.6.egg (12.6 kB view details)

Uploaded Egg

ofxparse-0.6-py2.5.egg (12.6 kB view details)

Uploaded Egg

ofxparse-0.6-py2.4.egg (12.8 kB view details)

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for ofxparse-0.6.tar.gz
Algorithm Hash digest
SHA256 d5ecf5871cc0c27f3d5332bb36b174ac60f2a1261bd0c149044cf78b408f6f41
MD5 dc16a0a9e944c0020006914dd9521657
BLAKE2b-256 c5a016d3c3a18d38864e2439c99f62dd883ebc93b7af78f5b426fd1c701af95b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ofxparse-0.6-py2.7.egg
Algorithm Hash digest
SHA256 4a6cd210c41414b7c325054b0460a8634c68eab55984335256ca41a7dec30952
MD5 141e2b55f713f28dd6db10fb3242d86e
BLAKE2b-256 c3c2d34c7b3a2f9a440658b97270fd361ce336bb76ba9346a01513b18f9d23c2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ofxparse-0.6-py2.6.egg
Algorithm Hash digest
SHA256 8c63ad0656936e8472a32a25e7e7df13a427b4e73f431d027d6e18b7f255ee59
MD5 d4b0dc04518732db0a7a95dafce1c8a6
BLAKE2b-256 50b233b6ea8023cd15373234b3728b355737782ae48cb1092409e9f1dd058e13

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ofxparse-0.6-py2.5.egg
Algorithm Hash digest
SHA256 4da89b53804fae47951219b836d685fdc550d0a50d00bde54806d78571269d17
MD5 d6424fb20ae64916f07f006bbe84af02
BLAKE2b-256 681f70ecda48fc194b74269aee5c2c0ca8460835f7be6cadabb35170999df019

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ofxparse-0.6-py2.4.egg
Algorithm Hash digest
SHA256 5a9de6a9f4e6079457e54a8d269ac33e933b5d4ba4e538b9cbc97043dad30ff7
MD5 7b30bee96c73f5a4ce73180a693c75ea
BLAKE2b-256 bddbe9b8a837c0363befb442281c7ea575f961c52e78e9508eec1d06975f00d4

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