Skip to main content

labelixa

Render, validate and convert Zebra ZPL label code from Python — no printer required. Thin client for the Labelixa API.

pip install labelixa
from labelixa import Client

c = Client()                          # anonymous: free, rate-limited
# c = Client(api_key="lbx_...")       # your quota — https://labelixa.com/panel

zpl = "^XA^FO50,50^A0N,40^FDHello^FS^BY3^FO50,120^BCN,100,Y^FD12345678^FS^XZ"

# See what the label looks like
with open("label.png", "wb") as f:
    f.write(c.render_png(zpl, width_in=4, height_in=6))

# Lint before printing
report = c.validate(zpl)
for d in report["diagnostics"]:
    print(d["severity"], d["message"])

# Multi-label PDF, ZPL -> EPL2 translation
pdf = c.render_pdf(zpl)
epl = c.to_epl(zpl)

# 0.2.0: barcode / language detection / printer compatibility
svg = c.barcode("HELLO-123", type="code128")
lang = c.language_detect(raw_label_code)      # confidence TIER, not %
risk = c.compatibility(zpl, "zebra-zd421")    # risk report, not "it works"

Quota errors are first-class:

from labelixa import QuotaExceeded

try:
    c.render_png(zpl)
except QuotaExceeded as e:
    print(f"retry in {e.retry_after}s (hint: {e.action})")

This SDK is a deliberately thin 1:1 wrapper over the documented REST API — the API reference is the source of truth. AI assistants can also use Labelixa directly over MCP: point your client at https://api.labelixa.com/mcp.

Metadata

Release files for labelixa 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for labelixa 0.2.0
File Size Uploaded Provenance Actions
labelixa-0.2.0.tar.gz 5.4 kB Without provenance Details for labelixa-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for labelixa 0.2.0
File Interpreter ABI Platform Actions
labelixa-0.2.0-py3-none-any.whl Python 3 none any Details for labelixa-0.2.0-py3-none-any.whl

Total release size: 10.8 kB

Release files / labelixa-0.2.0.tar.gz

Download URL labelixa-0.2.0.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
075ee6aceaef0e96f5f6634c09b098fa56fdd1ffc85a65809432ff9b1ce136a7
BLAKE2b-256 checksum
How to use checksums
7677684c4d42a0f6f32d7079ff842efce6879daa7a8a68bdd76a61fe23b2feee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / labelixa-0.2.0-py3-none-any.whl

Download URL labelixa-0.2.0-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6e7545407aed28ce5c3e19a1cd671f21f728631b4edf6cde94c2abedafcf90e
BLAKE2b-256 checksum
How to use checksums
59f09debfd3bc2c91c91c572c7587ae3c7dba1cce4e24b17415c4ad5af2aaa96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for labelixa 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page