Skip to main content

Module for interacting with api.labelary.com

Project description

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

Project details


Release history Release notifications

This version

1.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for labelary-mwisslead, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size labelary_mwisslead-1.0.1-py2.py3-none-any.whl (3.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size labelary-mwisslead-1.0.1.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page