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

Uploaded Source

Built Distributions

ofxparse-0.3-py2.6.egg (8.4 kB view details)

Uploaded Egg

ofxparse-0.3-py2.5.egg (8.4 kB view details)

Uploaded Egg

ofxparse-0.3-py2.4.egg (8.6 kB view details)

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for ofxparse-0.3.tar.gz
Algorithm Hash digest
SHA256 a31d13df854f43ea7cd734ff908d8c44716a3530403e25c37f87febad7402019
MD5 61fa4209b25006334a7eabd242f6c3f9
BLAKE2b-256 119e562cdd1153804409a1dfa6a7b3c481521f3315dc0f17089c831469549b77

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ofxparse-0.3-py2.6.egg
Algorithm Hash digest
SHA256 443c47a62146a7545edbae4f810727181f0eb1270f5a7aa9cfd88850d2e51f7d
MD5 366b62a135d0cfd479431d9f23f1a93d
BLAKE2b-256 8afae113da904d24eaaadf7b5fa779d77fe1eb1c77f33d56bd7accf5246f0b8c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ofxparse-0.3-py2.5.egg
Algorithm Hash digest
SHA256 d82115e7edb3029ba77d920389b2c49e236f6ae5677f12b034307a41e35da3a8
MD5 3af8315e7af7cb2ef286ec72f71a543d
BLAKE2b-256 83c75587437913f7a83deb5dae57accb45d5daedaf76f380343085f798cb01b1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ofxparse-0.3-py2.4.egg
Algorithm Hash digest
SHA256 9c7df52381fcbe2633acf9a281b4c9afef13801031c729980b2950963a325275
MD5 43e6b1007de4da657937c01415977d5e
BLAKE2b-256 5c333fbf00460c7b32a7bdb13a9c608b9269522c251eef3fc8254c91b1bb0500

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