Elaphe is a python binding of Barcode Writer In Pure PostScript (http://www.terryburton.co.uk/barcodewriter/).
Requirements
Python 2.7. Does not work on Python 3.
GhostScript on your system
Simple Usage
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
<PIL.EpsImagePlugin.EpsImageFile ... at ...>
>>> _.show() # Show rendered bitmap
will invoke image viewer on your system, showing a QRcode symbol with 10px margin. barcode() returns PIL image object.
Release files for elaphe 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| elaphe-0.6.0.tar.gz | 208.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| elaphe-0.6.0-py2.7.egg | Legacy Egg format | - | - | Details |
Total release size: 506.8 kB
Release files / elaphe-0.6.0.tar.gz
| Download URL | elaphe-0.6.0.tar.gz |
|---|---|
| Size | 208.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71088ef9f1ed0f82cdfdf27d0a399802f377bfdd37a7a8fd27371c8ef39ea186
|
|
BLAKE2b-256 checksum How to use checksums |
9d82626fb3f9492d41eec22246e7a92b8d00971420546bb97e83b75bf371e09b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / elaphe-0.6.0-py2.7.egg
| Download URL | elaphe-0.6.0-py2.7.egg |
|---|---|
| Size | 298.4 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
8bac6351a74a36038cba05c017c44d87a0bcee0e6e7c3320fdf2f34f7fbeddb6
|
|
BLAKE2b-256 checksum How to use checksums |
a7b9914776ae9d61d5bf6625a36fdc7f7425b88d4cc3b107ccb4172fdef4d7b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |