Skip to main content

a parser for Quicken interchange format files (.qif).

Project description

QIF Parser

https://travis-ci.org/giacomos/qifparse.png?branch=master

qifparse is a parser for Quicken interchange format files (.qif).

Usage

Here’s a sample program:

>>> from qifparse.parser import QifParser

>>> qif = QifParser.parse(file('file.qif'))

>>> qif.accounts
[<Account: My Cash>, <Account: My Cc>]

>>> qif.accounts[0].name
'My Cash'

>>> qif.categories
[<Category: food>, <Category: food:lunch>]

>>> qif.transactions
{'My Cash': [<Transaction units=-6.5>, <Transaction units=-6.0>

>>> str(qif)
'!Type:Cat\nNfood\nE\n^\nNfood:lunch\nE\n^\n!Account\nNMy Cash\nTCash\n^\...
...

Test

python setup.py test

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

qifparse-0.1.tar.gz (5.6 kB view hashes)

Uploaded Source

Supported by

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