No description
  • Python 99.9%
  • C 0.1%
Find a file
2022-01-18 22:25:46 +01:00
examples [LH#1241] Make check compatibility 2011-10-10 08:18:24 +00:00
experimental/code128decoder cleanup 2008-11-14 10:57:42 +00:00
hubarcode support PIL installation with easy_install where we have no PIL subdirectory. 2013-12-26 13:02:33 +01:00
sample_barcodes lib/public repository integrated into main repository 2007-05-26 05:35:50 +00:00
test v0.63: bugfix for code128 barcodes missing last digit 2011-02-14 21:34:45 +01:00
.gitignore v0.63: bugfix for code128 barcodes missing last digit 2011-02-14 21:34:45 +01:00
.travis.yml LEt Travis-CI do code quality checks 2013-10-08 00:10:35 +02:00
__init__.py lib/public repository integrated into main repository 2007-05-26 05:35:50 +00:00
CHANGES tagged Version 1.0.0 2013-10-07 23:48:44 +02:00
ez_setup.py converted to more modern python 2010-01-08 21:32:02 +01:00
Makefile Uploaded to PyPy 2013-10-07 23:54:08 +02:00
MANIFEST.in added qrcode_data dat files on installation 2012-04-19 21:56:55 +02:00
qrcode_generate_Data.py qrcode_generate_Data.py now uses absolute pathes and OS specific path separators 2010-11-11 10:48:13 +01:00
qrcode_generate_module.py Fix instructions 2010-11-10 23:32:24 +02:00
README.textile Update README.textile 2022-01-18 22:25:46 +01:00
setup.py bugfix 2013-10-08 00:07:23 +02:00

[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/)

h1. huBarcode

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

 * code128
 * ean13
 * datamatrix
 * qrcode


!https://raw.github.com/mdornseif/huBarcode/master/hubarcode/code128/test_img/3.png! !https://raw.github.com/mdornseif/huBarcode/master/hubarcode/ean13/test_img/3.png! !https://raw.github.com/mdornseif/huBarcode/master/sample_barcodes/hudora.png! !https://raw.github.com/mdornseif/huBarcode/master/hubarcode/qrcode/test_img/10.png!

The interface of the different encoders is fairly straightforward:

<pre><code>
>>> 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
</code></pre>


h2. Download

You can get huBarcode at "the Python Cheeseshop":http://pypi.python.org/pypi/huBarcode/ or at "GitHub":http://github.com/mdornseif/huBarcode#.


h2. Decoders

Open Source barcode decoders we are aware of:

* "ZXing (Zebra Crossing)":http://code.google.com/p/zxing/ (higly recommended)
* "ExactCODE;":http://www.exactcode.de/site/open_source/exactimage/bardecode/
* "ZBar":http://sourceforge.net/projects/zbar/
* "pydmtx":http://libdmtx.wikidot.com/libdmtx-python-wrapper



h2. Changes

See the "Changelog":https://github.com/hudora/mdornseif/blob/master/CHANGES

h2. 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.


!https://travis-ci.org/hudora/huBarcode.png?branch=master!:https://travis-ci.org/hudora/huBarcode