Skip to main content

CLI client for interacting with Qestit QRM data from LumenRadio tooling.

Project description

QRM

CLI + Python client for interacting with the Qestit QRM.

Install

pip install lr-qrm

Quick start

Login

Interactive login (prompts for username/password):

qrm login

Non-interactive (for CI/CD):

export QRM_USERNAME="<insert username>"
export QRM_PASSWORD="<insert password>"
qrm login --ci

By default, this stores session details at:

~/.config/qrm/login.json

Commands

Check API health

qrm status

Inspect UUT history

qrm uut status 326115020010F2F1 --start "2026-02-01T00:00:00Z" --stop "2026-02-06T23:59:00Z"

By default the command uses 1970-01-01T00:00:00Z as the start timestamp and lets QRM treat the stop as "now" (omit --stop). Pass --base-url and --insecure to override the stored settings when needed.

List production boxes

qrm box list --stop "2026-02-06T23:59:00Z"

If you omit --start, the command defaults to the Unix epoch (1970-01-01T00:00:00Z). Leave --stop out to let QRM use its current time.

JSON output

Most commands support a JSON output mode.

qrm uut status 326115020010F2F1 --output json

Programmatic use

from qrm.config import load_login_state
from qrm.client import QrmClient

state = load_login_state()
client = QrmClient(base_url=str(state.base_url), verify_tls=state.verify_tls)

uut_runs = client.uut_status(
    token=state.token,
    serial_number="326115020010F2F1",
    start_datetime="2026-02-01T00:00:00Z",
    stop_datetime="2026-02-06T23:59:00Z",
    max_results=1000,
)

boxes = client.box_list(
    token=state.token,
    start_datetime="1970-01-01T00:00:00Z",
    stop_datetime="2026-02-06T23:59:00Z",
)

FAQ

  • Where is the config kept? ~/.config/qrm/login.json (override with QRM_CONFIG)

  • How do I run non-interactively? Make sure to give all required arguments. Also pass --ci to stop output of sensitive information such as username or passwords.

Project details


Download files

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

Source Distribution

lr_qrm-0.1.3.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lr_qrm-0.1.3-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file lr_qrm-0.1.3.tar.gz.

File metadata

  • Download URL: lr_qrm-0.1.3.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for lr_qrm-0.1.3.tar.gz
Algorithm Hash digest
SHA256 ab0b69cadba6f03a8f8005fba2c0234d89516e4ba7db4a3fc94fc2417232fc3c
MD5 5ad7cc872bd1c2a0550d6e390538a8db
BLAKE2b-256 02d95ddcb1ed925a086f759bd699d4089d09be53796c20da00c132f7eea25709

See more details on using hashes here.

File details

Details for the file lr_qrm-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: lr_qrm-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for lr_qrm-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5e569b7fc0b7f257dc25dadb07dfcaf0740ee214dbd4f59575eb9ba4d55176f0
MD5 dbfdc043db3d5c443007a1010cb91763
BLAKE2b-256 110e042adfac476cc9330865c2ad18aa2f73fcfdc3c596de344b38217c9be564

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page