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": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "AEB43 parser",
"author": "Tryton",
"author_email": "foundation@tryton.org",
"download_url": "https://files.pythonhosted.org/packages/67/5a/92c043e94972093fda2a27928ac4c3d96dcaa1453a12e699d779e5076cf5/aeb43-0.1.0.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.0",
"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": "6df93aabbf131b57b87ff2cbc9c2e16b001c05388daa402c18ed3c0a8adb9595",
"md5": "a76282db1c6bd587e0a29bfb09e691c0",
"sha256": "0c844ecc869b696951f248a56cf7fbbddcddd7a3897e8d7d163866c6ecf743b8"
},
"downloads": -1,
"filename": "aeb43-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a76282db1c6bd587e0a29bfb09e691c0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 5096,
"upload_time": "2024-01-13T14:58:40",
"upload_time_iso_8601": "2024-01-13T14:58:40.283174Z",
"url": "https://files.pythonhosted.org/packages/6d/f9/3aabbf131b57b87ff2cbc9c2e16b001c05388daa402c18ed3c0a8adb9595/aeb43-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "675a92c043e94972093fda2a27928ac4c3d96dcaa1453a12e699d779e5076cf5",
"md5": "cbbee251b61bafbab59c2b190008ac3a",
"sha256": "0ff0cc5ccdd916859bad03171de0953e92ead8beb1cb2537d5082d3e7ec36f9f"
},
"downloads": -1,
"filename": "aeb43-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "cbbee251b61bafbab59c2b190008ac3a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 6606,
"upload_time": "2024-01-13T14:58:41",
"upload_time_iso_8601": "2024-01-13T14:58:41.721114Z",
"url": "https://files.pythonhosted.org/packages/67/5a/92c043e94972093fda2a27928ac4c3d96dcaa1453a12e699d779e5076cf5/aeb43-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-13 14:58:41",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "aeb43"
}