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

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.1
File Size Uploaded Provenance Actions
lr_lumenlabel_cli-3.0.1.tar.gz 126.1 kB Without provenance Details for lr_lumenlabel_cli-3.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 164.4 kB

Release files / lr_lumenlabel_cli-3.0.1.tar.gz

Download URL lr_lumenlabel_cli-3.0.1.tar.gz
Size 126.1 kB
Tags Source
SHA-256 checksum
How to use checksums
68e80d93f65444e833c9f8e36dc793c8cecd4741cbb35cc9984222bcb7407ee7
BLAKE2b-256 checksum
How to use checksums
ebd1a358be4f8b5327b66f8eb84c7ff8fd9087d0dcc2472fc5dd5e6575e56d8d
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.1-py3-none-any.whl

Download URL lr_lumenlabel_cli-3.0.1-py3-none-any.whl
Size 38.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6aa780e7cb54d35ca01beab050a3fe3265b9e96b24b383d1b61bb2144ac091ce
BLAKE2b-256 checksum
How to use checksums
dd1a697d2fac19e0fde6c9799020483a14da91ebf73770c192c08fc4789b79cd
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.1

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