Skip to main content
Help us improve Python packaging – donate today!

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)

Release history Release notifications

This version
History Node

0.2

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
python-esr-0.2.tar.gz (17.9 kB) Copy SHA256 hash SHA256 Source None Aug 13, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page