Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gisce/bankbarcode
Python library to generate barcodes for financial documents
https://github.com/gisce/bankbarcode
banking barcode hacktoberfest norma57
Last synced: about 2 hours ago
JSON representation
Python library to generate barcodes for financial documents
- Host: GitHub
- URL: https://github.com/gisce/bankbarcode
- Owner: gisce
- License: agpl-3.0
- Created: 2015-09-03T14:45:25.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-03-08T08:04:03.000Z (8 months ago)
- Last Synced: 2024-09-18T02:17:45.036Z (about 2 months ago)
- Topics: banking, barcode, hacktoberfest, norma57
- Language: Python
- Homepage: http://bankbarcode.readthedocs.org
- Size: 1.02 MB
- Stars: 3
- Watchers: 20
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
===========
BankBarcode
===========.. image:: https://travis-ci.org/gisce/bankbarcode.svg?branch=master
:target: https://travis-ci.org/gisce/bankbarcode
.. image:: https://coveralls.io/repos/github/gisce/bankbarcode/badge.svg?branch=master
:target: https://coveralls.io/github/gisce/bankbarcode?branch=masterPython 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.
.. code-block:: python
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