A module to parse AEB43 files
Project description
aeb43 is a parser for AEB43 files.
Nutshell
Import:
>>> import os >>> from aeb43 import AEB43
Instantiate:
>>> aeb43 = AEB43('aeb43/AEB43.txt')
The accounts:
>>> len(aeb43.accounts)
1
>>> account = aeb43.accounts[0]
>>> account.number
'0001414452'
>>> account.start_date
datetime.date(2018, 3, 18)
>>> account.end_date
datetime.date(2018, 3, 20)
>>> account.initial_balance
Decimal('3005')
>>> account.final_balance
Decimal('2994.02')
>>> account.currency
'978'
The transactions:
>>> len(account.transactions)
1
>>> transaction = account.transactions[0]
>>> transaction.transaction_date
datetime.date(2018, 3, 19)
>>> transaction.value_date
datetime.date(2018, 3, 19)
>>> transaction.amount
Decimal('-10.98')
>>> transaction.shared_item
'12'
>>> transaction.own_item
'408'
>>> transaction.document
'0000000000'
>>> transaction.reference1
'000000000000'
>>> transaction.reference2
'5540014387733014'
>>> transaction.items
['COMPRA TARG 5540XXXXXXXX3014 DNH*MICHA', 'EL SCOTT']
To report issues please visit the aeb43 bugtracker.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aeb43-0.2.0.tar.gz
(4.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
aeb43-0.2.0-py3-none-any.whl
(6.0 kB
view details)
File details
Details for the file aeb43-0.2.0.tar.gz.
File metadata
- Download URL: aeb43-0.2.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da3f4306e8bfe156c94cd4d158ba7399d81bbc04aefdcb144086352476d16c9b
|
|
| MD5 |
888b51aa44f284dea9c6ff4105eaabdd
|
|
| BLAKE2b-256 |
8d8730f3197640aabba861712c1fb7a9d10066528c4bf7924df973a2dc8ceb90
|
File details
Details for the file aeb43-0.2.0-py3-none-any.whl.
File metadata
- Download URL: aeb43-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
218d9eea51cbd70a3c312c87ddca99a0c230265062d8636b36257879e3103a4d
|
|
| MD5 |
1d4132cea44837d39608888f40663546
|
|
| BLAKE2b-256 |
659f7de11c5eb8c18a3132099de3ac4ebc4bb88b3a68638b3dd5b649f24e5d6f
|