aeb43
=====
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`_.
.. _aeb43 bugtracker: https://bugs.tryton.org/aeb43
Raw data
{
"_id": null,
"home_page": "https://pypi.org/project/aeb43/",
"name": "aeb43",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "AEB43 parser",
"author": "Tryton",
"author_email": "foundation@tryton.org",
"download_url": "https://files.pythonhosted.org/packages/50/12/7b8fb5addc91f4a587d58f3179b1fe890b34c68416012bd279a5ccd53b80/aeb43-0.1.1.tar.gz",
"platform": null,
"description": "aeb43\n=====\n\naeb43 is a parser for AEB43 files.\n\nNutshell\n--------\n\nImport::\n\n >>> import os\n >>> from aeb43 import AEB43\n\nInstantiate::\n\n >>> aeb43 = AEB43('aeb43/AEB43.txt')\n\nThe accounts::\n\n >>> len(aeb43.accounts)\n 1\n >>> account = aeb43.accounts[0]\n >>> account.number\n '0001414452'\n >>> account.start_date\n datetime.date(2018, 3, 18)\n >>> account.end_date\n datetime.date(2018, 3, 20)\n >>> account.initial_balance\n Decimal('3005')\n >>> account.final_balance\n Decimal('2994.02')\n >>> account.currency\n '978'\n\nThe transactions::\n\n >>> len(account.transactions)\n 1\n >>> transaction = account.transactions[0]\n >>> transaction.transaction_date\n datetime.date(2018, 3, 19)\n >>> transaction.value_date\n datetime.date(2018, 3, 19)\n >>> transaction.amount\n Decimal('-10.98')\n >>> transaction.shared_item\n '12'\n >>> transaction.own_item\n '408'\n >>> transaction.document\n '0000000000'\n >>> transaction.reference1\n '000000000000'\n >>> transaction.reference2\n '5540014387733014'\n >>> transaction.items\n ['COMPRA TARG 5540XXXXXXXX3014 DNH*MICHA', 'EL SCOTT']\n\nTo report issues please visit the `aeb43 bugtracker`_.\n\n.. _aeb43 bugtracker: https://bugs.tryton.org/aeb43\n",
"bugtrack_url": null,
"license": "BSD",
"summary": "A module to parse AEB43 files",
"version": "0.1.1",
"project_urls": {
"Bug Tracker": "https://bugs.tryton.org/aeb43",
"Download": "https://downloads.tryton.org/aeb43/",
"Forum": "https://discuss.tryton.org/tags/aeb43",
"Homepage": "https://pypi.org/project/aeb43/",
"Source Code": "https://code.tryton.org/aeb43"
},
"split_keywords": [
"aeb43",
"parser"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "aff6211da54bfd041989e1e3446193921c8931909b28d94cc55fff4aa734059e",
"md5": "93f755ad2beebd3dce504cba94bbf947",
"sha256": "6b14bb869cf315a91619a5f57bb8c58bde016941efa5ef3200578a902e01196b"
},
"downloads": -1,
"filename": "aeb43-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "93f755ad2beebd3dce504cba94bbf947",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 5095,
"upload_time": "2024-12-29T11:50:02",
"upload_time_iso_8601": "2024-12-29T11:50:02.575868Z",
"url": "https://files.pythonhosted.org/packages/af/f6/211da54bfd041989e1e3446193921c8931909b28d94cc55fff4aa734059e/aeb43-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "50127b8fb5addc91f4a587d58f3179b1fe890b34c68416012bd279a5ccd53b80",
"md5": "7a59c0f7934fdf981ba5653da6b46cd8",
"sha256": "259b5058bf13b87e324440bc3e1f8ee18f7698d23513ac59df6728d55c348b6a"
},
"downloads": -1,
"filename": "aeb43-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "7a59c0f7934fdf981ba5653da6b46cd8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 6733,
"upload_time": "2024-12-29T11:50:04",
"upload_time_iso_8601": "2024-12-29T11:50:04.891208Z",
"url": "https://files.pythonhosted.org/packages/50/12/7b8fb5addc91f4a587d58f3179b1fe890b34c68416012bd279a5ccd53b80/aeb43-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-29 11:50:04",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "aeb43"
}