RemoteRF 2.0.10__tar.gz → 2.0.11__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.
Files changed (65) hide show
  1. {remoterf-2.0.10/src/remoterf.egg-info → remoterf-2.0.11}/PKG-INFO +1 -1
  2. {remoterf-2.0.10 → remoterf-2.0.11}/setup.py +1 -1
  3. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/common/utils/banner.py +2 -7
  4. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/core/app.py +0 -1
  5. {remoterf-2.0.10 → remoterf-2.0.11/src/remoterf.egg-info}/PKG-INFO +1 -1
  6. {remoterf-2.0.10 → remoterf-2.0.11}/tests/test_banner.py +5 -4
  7. {remoterf-2.0.10 → remoterf-2.0.11}/LICENSE +0 -0
  8. {remoterf-2.0.10 → remoterf-2.0.11}/MANIFEST.in +0 -0
  9. {remoterf-2.0.10 → remoterf-2.0.11}/README.md +0 -0
  10. {remoterf-2.0.10 → remoterf-2.0.11}/setup.cfg +0 -0
  11. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/__init__.py +0 -0
  12. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/common/__init__.py +0 -0
  13. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/common/grpc/__init__.py +0 -0
  14. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/common/grpc/grpc_pb2.py +0 -0
  15. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/common/grpc/grpc_pb2_grpc.py +0 -0
  16. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/common/grpc/v2_codec.py +0 -0
  17. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/common/tos_notice.txt +0 -0
  18. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/common/utils/__init__.py +0 -0
  19. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/common/utils/ansi_codes.py +0 -0
  20. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/common/utils/api_token.py +0 -0
  21. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/common/utils/list_string.py +0 -0
  22. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/common/utils/process_arg.py +0 -0
  23. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/config/__init__.py +0 -0
  24. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/config/cert_fetcher.py +0 -0
  25. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/config/config.py +0 -0
  26. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/core/__init__.py +0 -0
  27. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/core/acc_login.py +0 -0
  28. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/core/banner_note.txt +0 -0
  29. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/core/dynamic_v2_transport.py +0 -0
  30. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/core/grpc_acc.py +0 -0
  31. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/core/grpc_client.py +0 -0
  32. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/core/v2_errors.py +0 -0
  33. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/drivers/__init__.py +0 -0
  34. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/drivers/_virtual.py +0 -0
  35. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/drivers/adalm_pluto/__init__.py +0 -0
  36. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/drivers/adalm_pluto/pluto_remote.py +0 -0
  37. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/drivers/dynamic_device.py +0 -0
  38. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/drivers/dynamic_v2.py +0 -0
  39. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/drivers/hackrf/__init__.py +0 -0
  40. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/drivers/hackrf/hackrf_remote.py +0 -0
  41. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/drivers/rtl_sdr/__init__.py +0 -0
  42. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/drivers/rtl_sdr/rtl_sdr_remote.py +0 -0
  43. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/drivers/support/__init__.py +0 -0
  44. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/drivers/support/ti_mmwave.py +0 -0
  45. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/drivers/support/uhd.py +0 -0
  46. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/drivers/support/uhd_dsp.py +0 -0
  47. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/drivers/support/uhd_v2.py +0 -0
  48. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/drivers/ti_mmwave/__init__.py +0 -0
  49. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/drivers/ti_mmwave/ti_mmwave_remote.py +0 -0
  50. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/drivers/usrp/__init__.py +0 -0
  51. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/drivers/usrp/usrp_remote.py +0 -0
  52. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/drivers/usrp/usrp_remote.pyi +0 -0
  53. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/remoterf_cli.py +0 -0
  54. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoteRF/version.py +0 -0
  55. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoterf.egg-info/SOURCES.txt +0 -0
  56. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoterf.egg-info/dependency_links.txt +0 -0
  57. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoterf.egg-info/entry_points.txt +0 -0
  58. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoterf.egg-info/requires.txt +0 -0
  59. {remoterf-2.0.10 → remoterf-2.0.11}/src/remoterf.egg-info/top_level.txt +0 -0
  60. {remoterf-2.0.10 → remoterf-2.0.11}/tests/test_dynamic_device_codegen.py +0 -0
  61. {remoterf-2.0.10 → remoterf-2.0.11}/tests/test_dynamic_v2.py +0 -0
  62. {remoterf-2.0.10 → remoterf-2.0.11}/tests/test_pluto_virtual.py +0 -0
  63. {remoterf-2.0.10 → remoterf-2.0.11}/tests/test_process_arg.py +0 -0
  64. {remoterf-2.0.10 → remoterf-2.0.11}/tests/test_remoterf_cli.py +0 -0
  65. {remoterf-2.0.10 → remoterf-2.0.11}/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.10
3
+ Version: 2.0.11
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.10",
24
+ version="2.0.11",
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 = 30
50
+ PANEL_CONTENT_WIDTH = 31
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 E. Ge and I. Roberts",
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.10
3
+ Version: 2.0.11
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,8 +47,9 @@ 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("VERSION 2.0.9 (latest)", lines[panel_top + 2])
51
- self.assertIn("SERVER 192.0.2.10:61005", lines[panel_top + 3])
50
+ self.assertIn("Created by E. Ge and I. Roberts", 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
54
  self.assertNotIn("UCLA", text)
54
55
  self.assertNotIn("TIME", text)
@@ -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 E. Ge and I. Roberts", 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.assertIn("ACCOUNT ethan", text)
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