Skip to main content

Swiss ESR account statement record parser

Project description

Parser library for Swiss ESR (“Einzahlungsschein mit Referenznummer”) account statement records.

Features

  • Support for type 3 and 4 records (automatically detected)

  • Implements various integrity checks according to record description manual

  • Converts values to int, Decimal, etc.

Getting started

Read data from a ESR file (usually ending with *.v11):

from esr import ESR

with open('esr_file.v11', 'r') as f:
    data = f.read()

statement = ESR.parse(data)

for record in statement.records:
    print(record.amount)
print(statement.total_record.amount)

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

python-esr-0.2.tar.gz (17.9 kB view details)

Uploaded Source

File details

Details for the file python-esr-0.2.tar.gz.

File metadata

  • Download URL: python-esr-0.2.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for python-esr-0.2.tar.gz
Algorithm Hash digest
SHA256 d918baf5b8fab97f1d0cca09d0331e2e56f19caa55a8cc3c940e0ba827850b0f
MD5 f709eafc16c5ad9ffbd0f83f08dccb46
BLAKE2b-256 911e9c3a3df9c242427928f0804137f2918584cd972cf2e0253c99024448bc2c

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