a parser for Quicken interchange format files (.qif).
Project description
QIF Parser
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
Changelog
0.3 (2013-11-02)
more refactoring, now the lib is much more simple and engineered
improved fields validation
0.2 (2013-11-02)
huge refactor, now the structure can be create and modified programmatically
0.1 (2013-11-01)
first release on Pypi
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.3.tar.gz
(5.8 kB
view hashes)