RemoteRF 0.0.7.4__tar.gz → 0.0.7.6__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.4/src/remoteRF.egg-info → remoterf-0.0.7.6}/PKG-INFO +1 -1
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/setup.py +1 -1
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF/core/app.py +2 -3
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF/drivers/adalm_pluto/pluto_remote.py +28 -1
- {remoterf-0.0.7.4 → remoterf-0.0.7.6/src/remoteRF.egg-info}/PKG-INFO +1 -1
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/LICENSE +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/MANIFEST.in +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/README.md +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/setup.cfg +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF/__init__.py +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF/common/__init__.py +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF/common/grpc/__init__.py +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF/common/grpc/grpc_pb2.py +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF/common/grpc/grpc_pb2_grpc.py +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF/common/utils/__init__.py +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF/common/utils/ansi_codes.py +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF/common/utils/api_token.py +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF/common/utils/list_string.py +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF/common/utils/process_arg.py +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF/core/__init__.py +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF/core/acc_login.py +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF/core/certs/__init__.py +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF/core/certs/ca.crt +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF/core/certs/ca.key +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF/core/certs/cert.pem +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF/core/certs/key.pem +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF/core/certs/server.crt +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF/core/certs/server.key +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF/core/grpc_acc.py +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF/core/grpc_client.py +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF/drivers/__init__.py +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF/drivers/adalm_pluto/__init__.py +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF.egg-info/SOURCES.txt +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF.egg-info/dependency_links.txt +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF.egg-info/entry_points.txt +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF.egg-info/requires.txt +0 -0
- {remoterf-0.0.7.4 → remoterf-0.0.7.6}/src/remoteRF.egg-info/top_level.txt +0 -0
|
@@ -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.6",
|
|
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!",
|
|
@@ -477,7 +477,6 @@ def display_free_slots_next_days(num_days: int):
|
|
|
477
477
|
chosen_device = candidate
|
|
478
478
|
return chosen_day, chosen_slot, chosen_device
|
|
479
479
|
|
|
480
|
-
|
|
481
480
|
def interactive_reserve_next_days():
|
|
482
481
|
"""
|
|
483
482
|
Interactive function that prompts the user for the number of days (starting today) to check for available reservations.
|
|
@@ -533,8 +532,8 @@ while True:
|
|
|
533
532
|
cancel_my_reservation()
|
|
534
533
|
elif inpu == 'naiveresdev':
|
|
535
534
|
# check if user is admin
|
|
536
|
-
|
|
537
|
-
|
|
535
|
+
if account.get_perms().results['UC'] == 'Admin':
|
|
536
|
+
reserve()
|
|
538
537
|
else:
|
|
539
538
|
print(f"Unknown command: {inpu}")
|
|
540
539
|
except KeyboardInterrupt:
|
|
@@ -32,7 +32,7 @@ class Pluto: # client
|
|
|
32
32
|
|
|
33
33
|
def __init__(self, token='', debug=False):
|
|
34
34
|
self.token = token
|
|
35
|
-
try_set(function_name="
|
|
35
|
+
# self.try_set(function_name="ip", value=grpc_pb2.Argument(string_value=ip))
|
|
36
36
|
|
|
37
37
|
if debug:
|
|
38
38
|
print("Pluto Remote Client Initialized.")
|
|
@@ -142,6 +142,25 @@ class Pluto: # client
|
|
|
142
142
|
@tx_lo.setter
|
|
143
143
|
def tx_lo(self, value):
|
|
144
144
|
try_set("tx_lo", value, self.token)
|
|
145
|
+
|
|
146
|
+
@property
|
|
147
|
+
def tx_cyclic_buffer(self):
|
|
148
|
+
"""tx_cyclic_buffer_size: Size of cyclic buffer"""
|
|
149
|
+
return try_get("tx_cyclic_buffer_size", self.token)
|
|
150
|
+
|
|
151
|
+
@tx_cyclic_buffer.setter
|
|
152
|
+
def tx_cyclic_buffer(self, value):
|
|
153
|
+
try_set("tx_cyclic_buffer_size", value, self.token)
|
|
154
|
+
|
|
155
|
+
@property
|
|
156
|
+
def tx_destroy_buffer(self):
|
|
157
|
+
"""tx_destroy_buffer: Destroy cyclic buffer"""
|
|
158
|
+
return try_get("tx_destroy_buffer()", self.token)
|
|
159
|
+
|
|
160
|
+
@property
|
|
161
|
+
def rx_destroy_buffer(self):
|
|
162
|
+
"""rx_destroy_buffer: Destroy cyclic buffer"""
|
|
163
|
+
return try_get("rx_destroy_buffer()", self.token)
|
|
145
164
|
|
|
146
165
|
#endregion
|
|
147
166
|
|
|
@@ -162,6 +181,14 @@ class Pluto: # client
|
|
|
162
181
|
|
|
163
182
|
#region tx_def
|
|
164
183
|
|
|
184
|
+
@property
|
|
185
|
+
def tx(self):
|
|
186
|
+
return try_get("tx", self.token)
|
|
187
|
+
|
|
188
|
+
@tx.setter
|
|
189
|
+
def tx(self, value):
|
|
190
|
+
try_set("tx", value, self.token)
|
|
191
|
+
|
|
165
192
|
#endregion
|
|
166
193
|
|
|
167
194
|
#region tx
|
|
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
|