lr-qrm 0.1.1__py3-none-any.whl → 0.1.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lr_qrm-0.1.1.dist-info → lr_qrm-0.1.2.dist-info}/METADATA +2 -2
- lr_qrm-0.1.2.dist-info/RECORD +10 -0
- qrm/cli.py +4 -4
- lr_qrm-0.1.1.dist-info/RECORD +0 -10
- {lr_qrm-0.1.1.dist-info → lr_qrm-0.1.2.dist-info}/WHEEL +0 -0
- {lr_qrm-0.1.1.dist-info → lr_qrm-0.1.2.dist-info}/entry_points.txt +0 -0
- {lr_qrm-0.1.1.dist-info → lr_qrm-0.1.2.dist-info}/licenses/LICENSE +0 -0
- {lr_qrm-0.1.1.dist-info → lr_qrm-0.1.2.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lr-qrm
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: CLI client for interacting with Qestit QRM data from LumenRadio tooling.
|
|
5
5
|
Author-email: Jonas Estberger <jonas.estberger@lumenradio.com>
|
|
6
6
|
License: MIT License
|
|
@@ -69,7 +69,7 @@ qrm status
|
|
|
69
69
|
qrm uut status 326115020010F2F1 --start "2026-02-01 00:00:00" --stop "2026-02-06 23:59:00"
|
|
70
70
|
```
|
|
71
71
|
|
|
72
|
-
By default the command
|
|
72
|
+
By default the command uses `1970-01-01 00:00:00` as the start timestamp and "now" as the stop. Pass `--base-url` and `--insecure` to override the stored settings when needed.
|
|
73
73
|
|
|
74
74
|
#### JSON output
|
|
75
75
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
lr_qrm-0.1.2.dist-info/licenses/LICENSE,sha256=cEnG3HeMPa3GKtuENkytOQaNJS9rwMMU_KWHObdWbOY,1070
|
|
2
|
+
qrm/__init__.py,sha256=vpsqqB9AKEhCcTdlSNeMF74vKSUG2NuUPEd5uE6u-ws,1069
|
|
3
|
+
qrm/cli.py,sha256=ijAn363sM27FcPBmyuOI_lrbtXt39r25wP1bRR6Sg0M,10605
|
|
4
|
+
qrm/client.py,sha256=-wA06kxdOx1y4xlPASfwFzltUZaFt4KeDqbgMBY8QCY,5979
|
|
5
|
+
qrm/config.py,sha256=TewatdLxqbCa7hBLbqj8hrKbposvbD-Wc1TSiUipzq4,623
|
|
6
|
+
lr_qrm-0.1.2.dist-info/METADATA,sha256=xL4MwL_zIBNG8F9t8Uki287WlxogpPW3ad1oflPCRsk,2345
|
|
7
|
+
lr_qrm-0.1.2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
8
|
+
lr_qrm-0.1.2.dist-info/entry_points.txt,sha256=9CaqYoIqOC9O40WoJ6SM1qYk9gP5VVShmMc51zBqas4,36
|
|
9
|
+
lr_qrm-0.1.2.dist-info/top_level.txt,sha256=URCUvNbN-7KWypbbmrCaie8JjKDowz0p4GNhBqnN99U,4
|
|
10
|
+
lr_qrm-0.1.2.dist-info/RECORD,,
|
qrm/cli.py
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
5
|
import json
|
|
6
|
-
from datetime import datetime,
|
|
6
|
+
from datetime import datetime, timezone
|
|
7
7
|
from enum import Enum
|
|
8
8
|
from pathlib import Path
|
|
9
9
|
from typing import Any
|
|
@@ -36,7 +36,7 @@ UUT_CLI_DATE_FORMATS = [
|
|
|
36
36
|
"%Y-%m-%dT%H:%M:%S",
|
|
37
37
|
"%Y-%m-%dT%H:%M:%S%z",
|
|
38
38
|
]
|
|
39
|
-
|
|
39
|
+
UUT_DEFAULT_START = datetime(1970, 1, 1, tzinfo=timezone.utc)
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
@app.callback(invoke_without_command=True)
|
|
@@ -167,7 +167,7 @@ def uut_status(
|
|
|
167
167
|
None,
|
|
168
168
|
"--start",
|
|
169
169
|
formats=UUT_CLI_DATE_FORMATS,
|
|
170
|
-
help="Filter from this timestamp (UTC). Format: YYYY-MM-DD HH:MM:SS. Default:
|
|
170
|
+
help="Filter from this timestamp (UTC). Format: YYYY-MM-DD HH:MM:SS. Default: 1970-01-01 00:00:00.",
|
|
171
171
|
),
|
|
172
172
|
stop: datetime | None = typer.Option(
|
|
173
173
|
None,
|
|
@@ -279,7 +279,7 @@ def _resolve_uut_window(
|
|
|
279
279
|
stop: datetime | None,
|
|
280
280
|
) -> tuple[datetime, datetime]:
|
|
281
281
|
stop_value = stop or datetime.now(timezone.utc)
|
|
282
|
-
start_value = start or
|
|
282
|
+
start_value = start or UUT_DEFAULT_START
|
|
283
283
|
return start_value, stop_value
|
|
284
284
|
|
|
285
285
|
|
lr_qrm-0.1.1.dist-info/RECORD
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
lr_qrm-0.1.1.dist-info/licenses/LICENSE,sha256=cEnG3HeMPa3GKtuENkytOQaNJS9rwMMU_KWHObdWbOY,1070
|
|
2
|
-
qrm/__init__.py,sha256=vpsqqB9AKEhCcTdlSNeMF74vKSUG2NuUPEd5uE6u-ws,1069
|
|
3
|
-
qrm/cli.py,sha256=M3f6D5_ROssysCWsWhbdMgsNJOaDWQZux5u5D0LE6II,10602
|
|
4
|
-
qrm/client.py,sha256=-wA06kxdOx1y4xlPASfwFzltUZaFt4KeDqbgMBY8QCY,5979
|
|
5
|
-
qrm/config.py,sha256=TewatdLxqbCa7hBLbqj8hrKbposvbD-Wc1TSiUipzq4,623
|
|
6
|
-
lr_qrm-0.1.1.dist-info/METADATA,sha256=DaUZm9XUDnxxWReoj9GzpoUcxxYDY-1Zrbln0bGc1xQ,2310
|
|
7
|
-
lr_qrm-0.1.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
8
|
-
lr_qrm-0.1.1.dist-info/entry_points.txt,sha256=9CaqYoIqOC9O40WoJ6SM1qYk9gP5VVShmMc51zBqas4,36
|
|
9
|
-
lr_qrm-0.1.1.dist-info/top_level.txt,sha256=URCUvNbN-7KWypbbmrCaie8JjKDowz0p4GNhBqnN99U,4
|
|
10
|
-
lr_qrm-0.1.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|