RemoteRF 1.0.4__tar.gz → 1.0.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-1.0.4/src/remoteRF.egg-info → remoterf-1.0.6}/PKG-INFO +1 -1
- {remoterf-1.0.4 → remoterf-1.0.6}/setup.py +1 -1
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF/core/app.py +1 -1
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF/core/grpc_acc.py +0 -2
- {remoterf-1.0.4 → remoterf-1.0.6/src/remoteRF.egg-info}/PKG-INFO +1 -1
- {remoterf-1.0.4 → remoterf-1.0.6}/LICENSE +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/MANIFEST.in +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/README.md +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/setup.cfg +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF/__init__.py +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF/common/__init__.py +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF/common/grpc/__init__.py +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF/common/grpc/grpc_pb2.py +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF/common/grpc/grpc_pb2_grpc.py +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF/common/utils/__init__.py +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF/common/utils/ansi_codes.py +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF/common/utils/api_token.py +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF/common/utils/list_string.py +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF/common/utils/process_arg.py +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF/config/__init__.py +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF/config/cert_fetcher.py +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF/config/config.py +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF/core/__init__.py +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF/core/acc_login.py +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF/core/grpc_client.py +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF/core/version.py +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF/drivers/__init__.py +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF/drivers/adalm_pluto/__init__.py +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF/drivers/adalm_pluto/pluto_remote.py +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF/remoterf_cli.py +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF.egg-info/SOURCES.txt +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF.egg-info/dependency_links.txt +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF.egg-info/entry_points.txt +0 -0
- {remoterf-1.0.4 → remoterf-1.0.6}/src/remoteRF.egg-info/requires.txt +0 -0
- {remoterf-1.0.4 → remoterf-1.0.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="1.0.
|
|
9
|
+
version="1.0.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! Courtesy of Wireless Lab @ UCLA & Prof. Ian Roberts.",
|
|
@@ -19,6 +19,7 @@ def welcome():
|
|
|
19
19
|
inpu = session.prompt(stylize("Please ", Sty.DEFAULT, "login", Sty.GREEN, " or ", Sty.DEFAULT, "register", Sty.RED, " to continue. (", Sty.DEFAULT, 'l', Sty.GREEN, "/", Sty.DEFAULT, 'r', Sty.RED, "): ", Sty.DEFAULT))
|
|
20
20
|
if inpu == 'r':
|
|
21
21
|
print("Registering new account ...")
|
|
22
|
+
account.enrollment_code = input("Enrollment Code: ")
|
|
22
23
|
account.username = input("Username: ")
|
|
23
24
|
double_check = True
|
|
24
25
|
while double_check:
|
|
@@ -31,7 +32,6 @@ def welcome():
|
|
|
31
32
|
|
|
32
33
|
account.password = password
|
|
33
34
|
account.email = input("Email: ") # TODO: Email verification.
|
|
34
|
-
account.enrollment_code = input("Enrollment Code: ")
|
|
35
35
|
# check if login was valid
|
|
36
36
|
os.system('cls' if os.name == 'nt' else 'clear')
|
|
37
37
|
|
|
@@ -27,8 +27,6 @@ class RemoteRFAccount:
|
|
|
27
27
|
response = rpc_client(function_name="ACC:login", args={"un":map_arg(username), "pw":map_arg(password)})
|
|
28
28
|
if 'UC' in response.results:
|
|
29
29
|
print(f'User {unmap_arg(response.results["UC"])} successful login.')
|
|
30
|
-
|
|
31
|
-
self.is_admin = (ast.literal_eval(unmap_arg(self.get_perms().results['UC']))[0][0] == 'Admin')
|
|
32
30
|
return True
|
|
33
31
|
elif 'UE' in response.results:
|
|
34
32
|
print(f'Error: {unmap_arg(response.results["UE"])}')
|
|
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
|