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.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 lr-lumenlabel-cli 3.0.0
File Size Uploaded Provenance Actions
lr_lumenlabel_cli-3.0.0.tar.gz 125.9 kB Without provenance Details for lr_lumenlabel_cli-3.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 164.3 kB

Release files / lr_lumenlabel_cli-3.0.0.tar.gz

Download URL lr_lumenlabel_cli-3.0.0.tar.gz
Size 125.9 kB
Tags Source
SHA-256 checksum
How to use checksums
16a4624adbf26481eaed6c7919ca4f33137b3922c5b1bfb1a09d0e2472c5f627
BLAKE2b-256 checksum
How to use checksums
cad020914223eb6834cfc4394d7fd0c381c2edda63d8b10b57d113306fbd22e3
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.0-py3-none-any.whl

Download URL lr_lumenlabel_cli-3.0.0-py3-none-any.whl
Size 38.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f88760089b56c79e822554b5a39a1a5d2640377db2d5b2d6ff03831d44abb47c
BLAKE2b-256 checksum
How to use checksums
71427116ef1c5b79708c0c7d45f454c9af33f11eab42fd3b068257913abf5f27
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.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