pylabelary
Python module for interacting with api.labelary.com
Usage:
>>> import labelary
>>>
>>> test_label = '^XA^PR2^LRY^LH30,30^Fo),0^GB400,300,300^FS^FO20,10^AF^FDZEBRA^FS^FO20,60' \
... '^B3,,40^FDAAA001^FS^PF50^FO20,160^AF^FDSLEW EXAMPLE^FS^XZ^XA^PH^XZ^XA^PR2,6' \
... '^F020,10^AF^FDZEBRA^FS^F020,60^B3,,40^FDAAA001^FS^PFO20,160^AF' \
... '^FDSLEW EXAMPLE^FS^XZ^XA^LH30,30^FO20,10^AD^FDZEBRA^FS^FO20,60^B3^FDAAA001' \
... '^FS^XZ'
>>>
>>> png_labels = labelary.zpl2_to_png(test_label)
>>>
>>> for i, label in enumerate(png_labels):
... with open('test_label{}.png'.format(i), 'wb') as fid:
... fid.write(label)
...
>>>
Metadata
Release files for labelary-mwisslead 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| labelary-mwisslead-1.0.1.tar.gz | 2.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| labelary_mwisslead-1.0.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 6.0 kB
Release files / labelary-mwisslead-1.0.1.tar.gz
| Download URL | labelary-mwisslead-1.0.1.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b96039c2e1903c91a102c1f122f6ad565987b793e664e48653cf248797557123
|
|
BLAKE2b-256 checksum How to use checksums |
e0b49f4c804c40dd21a9b862b547f08b3e3e3f33fd7f1dabdeedc2d1f40ed3c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5
|
Release files / labelary_mwisslead-1.0.1-py2.py3-none-any.whl
| Download URL | labelary_mwisslead-1.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1b85219ad9f5aee2914efbe0cd3c360d48ed78217a465401e335df468313df00
|
|
BLAKE2b-256 checksum How to use checksums |
442065e81a110eb022323c5e59469b97b0984387b977554238d3954e96fc844f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5
|