Skip to main content

Norma 43 Parser

Build status Code style: black Checked with mypy

Parser for Norma43 bank account documents, commonly used in spanish banks to retrieve account movements. It supports Python 3.6 onwards.

How to install

$ pip install norma43parser

How to use it

from norma43parser import Norma43Parser, DateFormat                                                                                                                                                                                            

parser = Norma43Parser(DateFormat.SPANISH)
# it reads dates in DMY format, for YMD use DateFormat.ENGLISH

contents = open('./file.n43','r').read()                                                                                                                                                                           

n43 = parser.parse(contents)

Norma43Document Model

Class Norma43Document:

  • accounts: List of Account objects.
  • reported_entries: number of reported n43 file entries.

Class Account:

  • header: a Header object.
  • movement_lines: List ofr MovementLine objects
  • footer: a Footer object.

Class Header:

  • bank_code: string.
  • branch_code: string.
  • account_number: string.
  • start_date: date.
  • end_date: date.
  • initial_balance: Decimal.
  • currency: string in ISO-4217 (number).
  • information_mode_code: string.
  • account_name: string.

Class MovementLine:

  • branch_code: string.
  • transaction_date: date.
  • value_date: date.
  • amount: Decimal.
  • balance: Decimal.
  • description: string.
  • extra_information: List of strings.

Class Footer:

  • bank_code: string.
  • branch_code: string.
  • account_number: string.
  • debit_entries: integer.
  • debit_amount: Decimal.
  • credit_entries: integer.
  • credit_amount: Decimal.
  • final_balance: Decimal.
  • currency: string in ISO-4217 (number).

Metadata

Release files for norma43parser 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for norma43parser 1.1.2
File Size Uploaded Provenance Actions
norma43parser-1.1.2.tar.gz 6.3 kB Without provenance Details for norma43parser-1.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for norma43parser 1.1.2
File Interpreter ABI Platform Actions
norma43parser-1.1.2-py3-none-any.whl Python 3 none any Details for norma43parser-1.1.2-py3-none-any.whl

Total release size: 17.4 kB

Release files / norma43parser-1.1.2.tar.gz

Download URL norma43parser-1.1.2.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
95542b414b63ff9cb0f7b4324f5d99ba252cdbe9063d40bdfe863544717f7068
BLAKE2b-256 checksum
How to use checksums
eeff8442169083cbcd616150f59571a26f22b4b72af20f4188d32bbc805f2178
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

Release files / norma43parser-1.1.2-py3-none-any.whl

Download URL norma43parser-1.1.2-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0dff4476d0d39e740454ca52edfe6096c060e7773ca0b8761dd0a1f87c381ea2
BLAKE2b-256 checksum
How to use checksums
23f0848cd8bb7e0b4c27dacd58d45b848954457956e2f8c660db4afadf6d9779
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

Security for norma43parser 1.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page