RemoteRF 0.0.7.44__tar.gz → 0.0.7.45__tar.gz
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.
- {remoterf-0.0.7.44/src/remoteRF.egg-info → remoterf-0.0.7.45}/PKG-INFO +1 -1
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/setup.py +1 -1
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF/config/config_cli.py +24 -28
- {remoterf-0.0.7.44 → remoterf-0.0.7.45/src/remoteRF.egg-info}/PKG-INFO +1 -1
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/LICENSE +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/MANIFEST.in +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/README.md +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/setup.cfg +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF/__init__.py +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF/common/__init__.py +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF/common/grpc/__init__.py +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF/common/grpc/grpc_pb2.py +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF/common/grpc/grpc_pb2_grpc.py +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF/common/utils/__init__.py +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF/common/utils/ansi_codes.py +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF/common/utils/api_token.py +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF/common/utils/list_string.py +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF/common/utils/process_arg.py +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF/config/__init__.py +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF/config/cert_fetcher.py +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF/core/__init__.py +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF/core/acc_login.py +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF/core/app.py +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF/core/grpc_acc.py +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF/core/grpc_client.py +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF/core/version.py +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF/drivers/__init__.py +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF/drivers/adalm_pluto/__init__.py +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF/drivers/adalm_pluto/pluto_remote.py +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF.egg-info/SOURCES.txt +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF.egg-info/dependency_links.txt +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF.egg-info/entry_points.txt +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF.egg-info/requires.txt +0 -0
- {remoterf-0.0.7.44 → remoterf-0.0.7.45}/src/remoteRF.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: remoterf
|
|
3
|
-
Version: 0.0.7.
|
|
3
|
+
Version: 0.0.7.45
|
|
4
4
|
Summary: A python API to remotely access signal centric hardware. Client-side only! Courtesy of Wireless Lab @ UCLA & Prof. Ian Roberts.
|
|
5
5
|
Author: Ethan Ge
|
|
6
6
|
Author-email: ethoGalaxy@gmail.com
|
|
@@ -6,7 +6,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|
|
6
6
|
|
|
7
7
|
setup(
|
|
8
8
|
name="remoterf",
|
|
9
|
-
version="0.0.7.
|
|
9
|
+
version="0.0.7.45",
|
|
10
10
|
author="Ethan Ge",
|
|
11
11
|
author_email="ethoGalaxy@gmail.com",
|
|
12
12
|
description="A python API to remotely access signal centric hardware. Client-side only! Courtesy of Wireless Lab @ UCLA & Prof. Ian Roberts.",
|
|
@@ -57,40 +57,38 @@ def _write_env_kv(path: Path, kv: dict[str, str]) -> None:
|
|
|
57
57
|
lines.append(f"{k}={v}")
|
|
58
58
|
path.write_text("\n".join(lines) + "\n", encoding="utf-8")
|
|
59
59
|
|
|
60
|
-
|
|
61
60
|
def main() -> None:
|
|
61
|
+
import argparse
|
|
62
|
+
import sys
|
|
63
|
+
|
|
62
64
|
parser = argparse.ArgumentParser(
|
|
63
65
|
prog="remoterf-config",
|
|
64
|
-
|
|
66
|
+
add_help=True,
|
|
67
|
+
formatter_class=argparse.RawTextHelpFormatter,
|
|
68
|
+
description=(
|
|
69
|
+
"Configure RemoteRF to talk to a server.\n"
|
|
70
|
+
"Fetches the server CA certificate and saves the gRPC target locally."
|
|
71
|
+
),
|
|
65
72
|
)
|
|
73
|
+
|
|
66
74
|
parser.add_argument(
|
|
67
75
|
"addr",
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
parser.add_argument(
|
|
71
|
-
"--cert-port",
|
|
72
|
-
type=int,
|
|
73
|
-
default=None,
|
|
74
|
-
help="Bootstrap cert-provider port. If omitted, defaults to <grpc_port + 1>."
|
|
75
|
-
)
|
|
76
|
-
parser.add_argument(
|
|
77
|
-
"--profile",
|
|
78
|
-
default="default",
|
|
79
|
-
help="Profile name (controls CA cert filename). Default: default"
|
|
80
|
-
)
|
|
81
|
-
parser.add_argument(
|
|
82
|
-
"--timeout",
|
|
83
|
-
type=float,
|
|
84
|
-
default=3.0,
|
|
85
|
-
help="Network timeout seconds. Default: 3.0"
|
|
86
|
-
)
|
|
87
|
-
parser.add_argument(
|
|
88
|
-
"--overwrite",
|
|
89
|
-
action="store_true",
|
|
90
|
-
help="Overwrite existing cert/config if present."
|
|
76
|
+
nargs="?",
|
|
77
|
+
help="Server address in host:port form. Example: 164.67.195.207:61005",
|
|
91
78
|
)
|
|
79
|
+
|
|
92
80
|
args = parser.parse_args()
|
|
93
81
|
|
|
82
|
+
if not args.addr:
|
|
83
|
+
print(
|
|
84
|
+
"\nError: missing required argument: host:port\n\n"
|
|
85
|
+
"Usage:\n"
|
|
86
|
+
" remoterf-config <host:port>\n\n"
|
|
87
|
+
"Example:\n"
|
|
88
|
+
" remoterf-config 123.45.678.901:12345\n"
|
|
89
|
+
)
|
|
90
|
+
sys.exit(2)
|
|
91
|
+
|
|
94
92
|
try:
|
|
95
93
|
host, grpc_port = _parse_hostport(args.addr)
|
|
96
94
|
except Exception as e:
|
|
@@ -118,9 +116,7 @@ def main() -> None:
|
|
|
118
116
|
|
|
119
117
|
if not fetched_ok:
|
|
120
118
|
print(
|
|
121
|
-
f"Failed to fetch CA cert from {host}:{cert_port}.\n"
|
|
122
|
-
f"Expected cert provider at: http://{host}:{cert_port}/ca.crt (or raw TCP).\n"
|
|
123
|
-
f"Server must be running cert_provider on that port.",
|
|
119
|
+
f"Failed to fetch CA cert from {host}:{cert_port}.\n",
|
|
124
120
|
file=sys.stderr
|
|
125
121
|
)
|
|
126
122
|
sys.exit(1)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: remoterf
|
|
3
|
-
Version: 0.0.7.
|
|
3
|
+
Version: 0.0.7.45
|
|
4
4
|
Summary: A python API to remotely access signal centric hardware. Client-side only! Courtesy of Wireless Lab @ UCLA & Prof. Ian Roberts.
|
|
5
5
|
Author: Ethan Ge
|
|
6
6
|
Author-email: ethoGalaxy@gmail.com
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|