RemoteRF 2.0.10__tar.gz → 2.0.12__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-2.0.10/src/remoterf.egg-info → remoterf-2.0.12}/PKG-INFO +1 -1
- {remoterf-2.0.10 → remoterf-2.0.12}/setup.py +1 -1
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/common/utils/banner.py +2 -7
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/core/app.py +0 -1
- {remoterf-2.0.10 → remoterf-2.0.12/src/remoterf.egg-info}/PKG-INFO +1 -1
- {remoterf-2.0.10 → remoterf-2.0.12}/tests/test_banner.py +6 -5
- {remoterf-2.0.10 → remoterf-2.0.12}/LICENSE +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/MANIFEST.in +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/README.md +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/setup.cfg +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/__init__.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/common/__init__.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/common/grpc/__init__.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/common/grpc/grpc_pb2.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/common/grpc/grpc_pb2_grpc.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/common/grpc/v2_codec.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/common/tos_notice.txt +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/common/utils/__init__.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/common/utils/ansi_codes.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/common/utils/api_token.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/common/utils/list_string.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/common/utils/process_arg.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/config/__init__.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/config/cert_fetcher.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/config/config.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/core/__init__.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/core/acc_login.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/core/banner_note.txt +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/core/dynamic_v2_transport.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/core/grpc_acc.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/core/grpc_client.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/core/v2_errors.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/drivers/__init__.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/drivers/_virtual.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/drivers/adalm_pluto/__init__.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/drivers/adalm_pluto/pluto_remote.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/drivers/dynamic_device.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/drivers/dynamic_v2.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/drivers/hackrf/__init__.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/drivers/hackrf/hackrf_remote.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/drivers/rtl_sdr/__init__.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/drivers/rtl_sdr/rtl_sdr_remote.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/drivers/support/__init__.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/drivers/support/ti_mmwave.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/drivers/support/uhd.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/drivers/support/uhd_dsp.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/drivers/support/uhd_v2.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/drivers/ti_mmwave/__init__.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/drivers/ti_mmwave/ti_mmwave_remote.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/drivers/usrp/__init__.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/drivers/usrp/usrp_remote.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/drivers/usrp/usrp_remote.pyi +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/remoterf_cli.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoteRF/version.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoterf.egg-info/SOURCES.txt +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoterf.egg-info/dependency_links.txt +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoterf.egg-info/entry_points.txt +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoterf.egg-info/requires.txt +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/src/remoterf.egg-info/top_level.txt +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/tests/test_dynamic_device_codegen.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/tests/test_dynamic_v2.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/tests/test_pluto_virtual.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/tests/test_process_arg.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/tests/test_remoterf_cli.py +0 -0
- {remoterf-2.0.10 → remoterf-2.0.12}/tests/test_ti_mmwave.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: remoterf
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.12
|
|
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
|
|
@@ -21,7 +21,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|
|
21
21
|
|
|
22
22
|
setup(
|
|
23
23
|
name="remoterf",
|
|
24
|
-
version="2.0.
|
|
24
|
+
version="2.0.12",
|
|
25
25
|
author="Ethan Ge",
|
|
26
26
|
author_email="ethoGalaxy@gmail.com",
|
|
27
27
|
description="A python API to remotely access signal centric hardware. Client-side only! Courtesy of Wireless Lab @ UCLA & Prof. Ian Roberts.",
|
|
@@ -47,7 +47,7 @@ COMPACT_BANNER = "RemoteRF"
|
|
|
47
47
|
ASCII_WORDMARK_WIDTH = max(len(line) for line in ASCII_BANNER.splitlines())
|
|
48
48
|
ASCII_BANNER_WIDTH = max(len(line) for line in BRANDED_ASCII_BANNER.splitlines())
|
|
49
49
|
ASCII_BANNER_MIN_COLUMNS = ASCII_BANNER_WIDTH + 1
|
|
50
|
-
PANEL_CONTENT_WIDTH =
|
|
50
|
+
PANEL_CONTENT_WIDTH = 35
|
|
51
51
|
PANEL_INNER_WIDTH = PANEL_CONTENT_WIDTH + 2
|
|
52
52
|
PANEL_WIDTH = PANEL_INNER_WIDTH + 2
|
|
53
53
|
PANEL_GAP = 1
|
|
@@ -113,6 +113,7 @@ def _panel_lines(
|
|
|
113
113
|
top = f"{top_left}{label}{horizontal * (PANEL_INNER_WIDTH - len(label))}{top_right}"
|
|
114
114
|
content = (
|
|
115
115
|
f"{marker} www.remoterf.net",
|
|
116
|
+
"Created by the Wireless Lab at UCLA",
|
|
116
117
|
f"VERSION {version}",
|
|
117
118
|
f"SERVER {server or 'NA'}",
|
|
118
119
|
)
|
|
@@ -127,7 +128,6 @@ def _panel_lines(
|
|
|
127
128
|
def _internal_panel_lines(
|
|
128
129
|
version: str,
|
|
129
130
|
server: str,
|
|
130
|
-
username: str,
|
|
131
131
|
tos_url: str,
|
|
132
132
|
*,
|
|
133
133
|
unicode_supported: bool = True,
|
|
@@ -144,7 +144,6 @@ def _internal_panel_lines(
|
|
|
144
144
|
f"{marker} www.remoterf.net",
|
|
145
145
|
f"VERSION {version}",
|
|
146
146
|
f"SERVER {server or 'NA'}",
|
|
147
|
-
f"ACCOUNT {username or 'NA'}",
|
|
148
147
|
f"TOS {display_tos}",
|
|
149
148
|
)
|
|
150
149
|
body = [
|
|
@@ -326,7 +325,6 @@ def internal_banner_text(
|
|
|
326
325
|
version: str,
|
|
327
326
|
*,
|
|
328
327
|
server: str = "",
|
|
329
|
-
username: str = "",
|
|
330
328
|
tos_url: str = "https://remoterf.net/tos",
|
|
331
329
|
unicode_supported: bool = True,
|
|
332
330
|
) -> str:
|
|
@@ -335,7 +333,6 @@ def internal_banner_text(
|
|
|
335
333
|
_internal_panel_lines(
|
|
336
334
|
version,
|
|
337
335
|
server,
|
|
338
|
-
username,
|
|
339
336
|
tos_url,
|
|
340
337
|
unicode_supported=unicode_supported,
|
|
341
338
|
)
|
|
@@ -346,7 +343,6 @@ def print_internal_banner(
|
|
|
346
343
|
version: str,
|
|
347
344
|
*,
|
|
348
345
|
server: str = "",
|
|
349
|
-
username: str = "",
|
|
350
346
|
tos_url: str = "https://remoterf.net/tos",
|
|
351
347
|
) -> None:
|
|
352
348
|
"""Print the styled boxed header displayed after a successful login."""
|
|
@@ -354,7 +350,6 @@ def print_internal_banner(
|
|
|
354
350
|
lines = _internal_panel_lines(
|
|
355
351
|
version,
|
|
356
352
|
server,
|
|
357
|
-
username,
|
|
358
353
|
tos_url,
|
|
359
354
|
unicode_supported=unicode_supported,
|
|
360
355
|
)
|
|
@@ -121,7 +121,6 @@ def title():
|
|
|
121
121
|
print_internal_banner(
|
|
122
122
|
print_my_version(),
|
|
123
123
|
server=server_addr,
|
|
124
|
-
username=account.username,
|
|
125
124
|
tos_url=_tos_url(),
|
|
126
125
|
)
|
|
127
126
|
printf("Input ", Sty.DEFAULT, "'help' ", Sty.BRIGHT_GREEN, "for a list of available commands.", Sty.DEFAULT)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: remoterf
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.12
|
|
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
|
|
@@ -47,10 +47,11 @@ class BannerTests(unittest.TestCase):
|
|
|
47
47
|
index for index, line in enumerate(lines) if "╭─ REMOTERF CLIENT" in line
|
|
48
48
|
)
|
|
49
49
|
self.assertIn("◆ www.remoterf.net", lines[panel_top + 1])
|
|
50
|
-
self.assertIn("
|
|
51
|
-
self.assertIn("
|
|
50
|
+
self.assertIn("Created by the Wireless Lab at UCLA", lines[panel_top + 2])
|
|
51
|
+
self.assertIn("VERSION 2.0.9 (latest)", lines[panel_top + 3])
|
|
52
|
+
self.assertIn("SERVER 192.0.2.10:61005", lines[panel_top + 4])
|
|
52
53
|
self.assertNotIn("STATUS", text)
|
|
53
|
-
self.
|
|
54
|
+
self.assertIn("UCLA", text)
|
|
54
55
|
self.assertNotIn("TIME", text)
|
|
55
56
|
self.assertTrue(all(len(line) < SIDE_BY_SIDE_MIN_COLUMNS for line in lines))
|
|
56
57
|
|
|
@@ -80,6 +81,7 @@ class BannerTests(unittest.TestCase):
|
|
|
80
81
|
self.assertIn(ASCII_COMPAT_BANNER.splitlines()[0], text)
|
|
81
82
|
self.assertNotIn("█", text)
|
|
82
83
|
self.assertIn("* www.remoterf.net", text)
|
|
84
|
+
self.assertIn("Created by the Wireless Lab at UCLA", text)
|
|
83
85
|
self.assertIn("SERVER rrf.example:61005", text)
|
|
84
86
|
self.assertNotIn("TIME", text)
|
|
85
87
|
|
|
@@ -94,7 +96,6 @@ class BannerTests(unittest.TestCase):
|
|
|
94
96
|
text = internal_banner_text(
|
|
95
97
|
"2.0.9 (latest)",
|
|
96
98
|
server="192.0.2.10:61005",
|
|
97
|
-
username="ethan",
|
|
98
99
|
tos_url="https://remoterf.net/tos",
|
|
99
100
|
)
|
|
100
101
|
|
|
@@ -102,7 +103,7 @@ class BannerTests(unittest.TestCase):
|
|
|
102
103
|
self.assertIn("◆ www.remoterf.net", text)
|
|
103
104
|
self.assertIn("VERSION 2.0.9 (latest)", text)
|
|
104
105
|
self.assertIn("SERVER 192.0.2.10:61005", text)
|
|
105
|
-
self.
|
|
106
|
+
self.assertNotIn("ACCOUNT", text)
|
|
106
107
|
self.assertIn("TOS remoterf.net/tos", text)
|
|
107
108
|
self.assertNotIn("UCLA", text)
|
|
108
109
|
self.assertNotIn("Pacific Time", text)
|
|
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
|
|
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
|