This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
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 History

This version
History Node

0.2

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
python-esr-0.2.tar.gz (17.9 kB) Copy SHA256 Checksum SHA256 Source Aug 13, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting