• This repository has been archived on 03/Jan/2018
  • Stars
    star
    146
  • Rank 252,769 (Top 5 %)
  • Language
    Python
  • Created almost 15 years ago
  • Updated almost 11 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

huBarcode is a Python Library to generate 1D and 2D Barcodes

huBarcode

huBarcode is a Python Library to generate 1D and 2D Barcodes. Currently it
supports

  • code128
  • ean13
  • datamatrix
  • qrcode

The interface of the different encoders is fairly straightforward:


>>> encoder = DataMatrixEncoder("HuDoRa")
>>> encoder.save( "test.png" )
>>> print encoder.get_ascii()
XX  XX  XX  XX  XX  XX  XX
XX  XXXX  XXXXXX      XXXXXX
XXXXXX    XX          XX
XXXXXX    XX        XXXX  XX
XXXX  XX  XXXXXX
XXXXXX    XXXXXXXX    XXXXXX
XX    XX  XXXXXXXX  XXXX
XX    XX      XXXX      XXXX
XX  XXXXXXXXXX    XXXX
XX  XXXX    XX            XX
XX  XXXXXX  XXXXXX      XX
XXXXXX  XX  XX  XX  XX    XX
XX    XX              XX
XXXXXXXXXXXXXXXXXXXXXXXXXXXX

Download

You can get huBarcode at the Python Cheeseshop or at GitHub#.

Decoders

Open Source barcode decoders we are aware of:

Changes

See the Changelog

License

If you worry about copyright you might consider this Software BSD-Licensed.
If you are still worried, you might consider it GPL1/2/3 compatible.
But donโ€™t worry. If you need something formal:
The code is available under the Apache License, Version 2.0.