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 details)
File details
Details for the file qifparse-0.3.tar.gz.
File metadata
- Download URL: qifparse-0.3.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08f60021151330022a58ee4e08bfd2d72a332fd1aedeaf41083ecc8ead27091d
|
|
| MD5 |
90380199e952d49b5052d1998fe9435d
|
|
| BLAKE2b-256 |
2f5f8ea04cff73884497479fb25f3821269277f2528a95e003f62136ff4158c0
|