Skip to main content

lr-lumenlabel-cli

The lumenlabel command for LumenRadio LumenLabel label printing stations. It turns a label fetched from Arena with gladiator into a label package and imports it into a station, locally, on the LAN or through the Fleet relay.

Installation

pip install lr-lumenlabel-cli

The LumenLabel installers also put it on every station: the .msi as lumenlabel.exe on the system PATH, the .deb as /usr/bin/lumenlabel. There it imports from a USB stick without a network (airgapped mode).

Quick start

# Fetch the label with its Arena metadata and BOM children
gladiator get-files 109-1182 --recursive --meta-data --out 109-1182

# Write the manifest and show Build Words and media warnings, offline
lumenlabel label import 109-1182 --dry-run

# Import into the LumenLabel running on this computer
lumenlabel label import 109-1182

# Or remember a station once, then import into it
lumenlabel login --station https://fleet.cloud.lumenradio.com/v1/s/<uid>
lumenlabel label import 109-1182
lumenlabel label list

Commands

lumenlabel [--station URL] [--token TOKEN] COMMAND   # global options first

lumenlabel login --station URL [--token TOKEN]
  # Checks the station and remembers it, with its token, in
  # ~/.config/lumenlabel/login.json (0600). Every later command then talks
  # to that station as if it were the local one. --base-url is an alias of
  # --station, as in lumentest.
lumenlabel logout

lumenlabel label import DIR [--dry-run] [--invalidate] [--output rich|json]
lumenlabel label list   [--output rich|json]
lumenlabel label remove ARTICLE [--yes]

lumenlabel station      [--output rich|json]       # info
lumenlabel station history [--limit N] [--before ID]
lumenlabel station logs [--tail N]

lumenlabel api METHOD PATH [--data JSON|@FILE]     # any /api/ endpoint
lumenlabel --version

Which station

  1. --station URL (alias --base-url), or LUMENLABEL_STATION / LUMENLABEL_URL.
  2. The station saved by lumenlabel login.
  3. The LumenLabel on this computer, http://127.0.0.1:<port>. The port is read from the station's lumenlabel.json (default 17081).
URL Authentication
https://<fleet>/v1/s/<uid> (Fleet relay) Your Fleet sign-in (fleet login; the first command opens the browser if needed)
http://127.0.0.1:<port> (on the station) None
http://<station>:<port> (LAN, instrumentation.host 0.0.0.0 on the station) The station token, shown in admin mode on the station

label import

  • The manifest (artifact-manifest.json) is built from the .arena.json sidecars gladiator writes with --meta-data. A folder with a manifest and no sidecars is imported as it is.
  • Private attachments (NiceLabel .nlbl sources), web links and BOM child folders are left out. Only the declared files are uploaded.
  • The media in configuration.json (media_article, media_name) is checked against the BOM's 111 item. A mismatch is a warning; fix it with a new revision in Arena. The CLI never changes configuration.json.
  • A read-only folder (a write-protected USB stick) is imported through a temporary copy.
  • An interrupted import resumes: run it again and only the files that did not arrive are sent. --invalidate discards what the station has staged.
  • The output shows the revision, the Build Words, the media and any warnings.

Specification: doc/label-package.md and doc/api-reference.md in the LumenLabel repository.

Metadata

Release files for lr-lumenlabel-cli 3.0.2

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

Source distribution (sdist)

Source distribution for lr-lumenlabel-cli 3.0.2
File Size Uploaded Provenance Actions
lr_lumenlabel_cli-3.0.2.tar.gz 126.4 kB Without provenance Details for lr_lumenlabel_cli-3.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lr-lumenlabel-cli 3.0.2
File Interpreter ABI Platform Actions
lr_lumenlabel_cli-3.0.2-py3-none-any.whl Python 3 none any Details for lr_lumenlabel_cli-3.0.2-py3-none-any.whl

Total release size: 164.9 kB

Release files / lr_lumenlabel_cli-3.0.2.tar.gz

Download URL lr_lumenlabel_cli-3.0.2.tar.gz
Size 126.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2be049102e7f2beff4a0db54587758fdcb685158a8ab8a28684c94456a3868ad
BLAKE2b-256 checksum
How to use checksums
edea9137a19cb73cb3757bd96b522d39b4d04dd115a46e343434c1a1248b358e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / lr_lumenlabel_cli-3.0.2-py3-none-any.whl

Download URL lr_lumenlabel_cli-3.0.2-py3-none-any.whl
Size 38.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1481681906a551afffaa13be08c7f27f42a5e45929eb8c36d86cd8def139906d
BLAKE2b-256 checksum
How to use checksums
eea6bf83e17a4e4fa035a580115adcdf1237f619a17391a6d3f2653110393a60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Security for lr-lumenlabel-cli 3.0.2

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