Elaphe is a barcode generator accessible from Python, powered by PostScript.
Elaphe is a Python binding for the Barcode Writer In Pure PostScript. It is a thin-wrapper which employs Python Imaging Library as PostScript rendering interface.
Simple Usage:
The following example::
>>> from elaphe import barcode
>>> barcode('qrcode',
... 'Hello Barcode Writer In Pure PostScript.',
... options=dict(version=9, eclevel='M'),
... margin=10, data_mode='8bits')) # Generates PIL.EpsImageFile instance
>>> _.show() # Show the image
should invoke default viewer which shows a QRcode symbol with 10px margin.
Remember, barcode() returns PIL image object.
Product's homepage
Requirements:
· Python
· PIL