Skip to main content

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


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.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aeb43-0.2.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file aeb43-0.2.1.tar.gz.

File metadata

  • Download URL: aeb43-0.2.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for aeb43-0.2.1.tar.gz
Algorithm Hash digest
SHA256 a2e1f5c58b2fe00619be0a90cb5d95286a1234e63e84dbeaf6c7a3f31cb7d436
MD5 d357255e44da2952ad9a2b33e71181e1
BLAKE2b-256 2248b859cb7de23e9ff2973be8f7202189d8c1eb3692876a17e8c42cf700ff30

See more details on using hashes here.

File details

Details for the file aeb43-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: aeb43-0.2.1-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

Hashes for aeb43-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 934f0bd27f817ddd81c2dba8d135474cf334f9c5bf629f577a9ee562856089f5
MD5 b91772922f862915bdf58a69f5aae379
BLAKE2b-256 670a589aae4906f06144dd7d3fede3f8976b9e5e5c4344702a5e4a7f8002d421

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page