Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

barcodes for financial documents

Project description

https://travis-ci.org/gisce/bankbarcode.svg?branch=master

Python library to generate barcodes for financial documents

Currently only the following codes are implemented:

  • cuaderno57, Cobros por ventanilla y autoservicio, serie normas y procedimientos bancarios, No57, Enero 2001
    • Recibo507, Recibos y otros (Cobros por Ventanilla y Autoservicio, V2001)

Feel free to implement more.

from bankbarcode.cuaderno57 import Recibo507
entity = '01234567'
suffix = '023'
ref = '12345678901'
notice = '123456'
amount = '6543.21'

recibo507 = Recibo507(entity, suffix, ref, notice, amount)

# get checksum value
checksum = recibo507.checksum()

# save barcocde as /tmp/mybarcode.svg
provided_filename = '/tmp/mybarcode.svg'
generated_filename = recibo507.save(provided_filename)

# get a string with the barcode in SVG fromat
svg = recibo507.svg()

Read the documentation at http://bankbarcode.readthedocs.org

Project details


Release history Release notifications

This version
History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.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
bankbarcode-0.1.4.tar.gz (4.1 kB) Copy SHA256 hash SHA256 Source None May 5, 2016

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