RemoteRF 0.0.7.2__tar.gz → 0.0.7.4__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 (37) hide show
  1. {remoterf-0.0.7.2/src/remoteRF.egg-info → remoterf-0.0.7.4}/PKG-INFO +2 -2
  2. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/README.md +1 -1
  3. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/setup.py +1 -1
  4. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF/core/app.py +2 -2
  5. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF/core/grpc_client.py +6 -1
  6. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF/drivers/adalm_pluto/pluto_remote.py +1 -1
  7. {remoterf-0.0.7.2 → remoterf-0.0.7.4/src/remoteRF.egg-info}/PKG-INFO +2 -2
  8. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/LICENSE +0 -0
  9. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/MANIFEST.in +0 -0
  10. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/setup.cfg +0 -0
  11. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF/__init__.py +0 -0
  12. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF/common/__init__.py +0 -0
  13. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF/common/grpc/__init__.py +0 -0
  14. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF/common/grpc/grpc_pb2.py +0 -0
  15. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF/common/grpc/grpc_pb2_grpc.py +0 -0
  16. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF/common/utils/__init__.py +0 -0
  17. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF/common/utils/ansi_codes.py +0 -0
  18. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF/common/utils/api_token.py +0 -0
  19. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF/common/utils/list_string.py +0 -0
  20. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF/common/utils/process_arg.py +0 -0
  21. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF/core/__init__.py +0 -0
  22. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF/core/acc_login.py +0 -0
  23. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF/core/certs/__init__.py +0 -0
  24. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF/core/certs/ca.crt +0 -0
  25. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF/core/certs/ca.key +0 -0
  26. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF/core/certs/cert.pem +0 -0
  27. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF/core/certs/key.pem +0 -0
  28. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF/core/certs/server.crt +0 -0
  29. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF/core/certs/server.key +0 -0
  30. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF/core/grpc_acc.py +0 -0
  31. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF/drivers/__init__.py +0 -0
  32. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF/drivers/adalm_pluto/__init__.py +0 -0
  33. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF.egg-info/SOURCES.txt +0 -0
  34. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF.egg-info/dependency_links.txt +0 -0
  35. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF.egg-info/entry_points.txt +0 -0
  36. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF.egg-info/requires.txt +0 -0
  37. {remoterf-0.0.7.2 → remoterf-0.0.7.4}/src/remoteRF.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: remoteRF
3
- Version: 0.0.7.2
3
+ Version: 0.0.7.4
4
4
  Summary: A python API to remotely access signal centric hardware. Client-side only!
5
5
  Author: Ethan Ge
6
6
  Author-email: ethoGalaxy@gmail.com
@@ -123,7 +123,7 @@ Here is a explained sample script to get you going!
123
123
  from remoteRF.drivers.adalm_pluto import * # Imports device Pluto SDR remote drivers. Change depending on desired device.
124
124
 
125
125
  sdr = adi.Pluto( # Device initialization.
126
- token = 'sample_token' # Place the prior token here.
126
+ token = 'example_token' # Place the prior token here.
127
127
  )
128
128
 
129
129
  # You can now use this 'sdr' as you normally would with the default Pluto drivers.
@@ -106,7 +106,7 @@ Here is a explained sample script to get you going!
106
106
  from remoteRF.drivers.adalm_pluto import * # Imports device Pluto SDR remote drivers. Change depending on desired device.
107
107
 
108
108
  sdr = adi.Pluto( # Device initialization.
109
- token = 'sample_token' # Place the prior token here.
109
+ token = 'example_token' # Place the prior token here.
110
110
  )
111
111
 
112
112
  # You can now use this 'sdr' as you normally would with the default Pluto drivers.
@@ -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.2",
9
+ version="0.0.7.4",
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!",
@@ -533,8 +533,8 @@ while True:
533
533
  cancel_my_reservation()
534
534
  elif inpu == 'naiveresdev':
535
535
  # check if user is admin
536
- if account.get_perms().results['UC'] == 'Admin':
537
- reserve()
536
+ # if account.get_perms().results['UC'] == 'Admin':
537
+ reserve()
538
538
  else:
539
539
  print(f"Unknown command: {inpu}")
540
540
  except KeyboardInterrupt:
@@ -11,13 +11,18 @@ from ..common.utils import *
11
11
  server_ip = '164.67.195.207'
12
12
  server_port = '61005'
13
13
 
14
+ options = [
15
+ ('grpc.max_send_message_length', 100 * 1024 * 1024),
16
+ ('grpc.max_receive_message_length', 100 * 1024 * 1024),
17
+ ]
18
+
14
19
  # Server.crt
15
20
  certs_path = Path(__file__).resolve().parent.parent/'core'/'certs'/'server.crt'
16
21
  with certs_path.open('rb') as f:
17
22
  trusted_certs = f.read()
18
23
 
19
24
  credentials = grpc.ssl_channel_credentials(root_certificates=trusted_certs)
20
- channel = grpc.secure_channel(f'{server_ip}:{server_port}', credentials)
25
+ channel = grpc.secure_channel(f'{server_ip}:{server_port}', credentials, options=options)
21
26
  stub = grpc_pb2_grpc.GenericRPCStub(channel)
22
27
 
23
28
  tcp_calls = 0
@@ -32,7 +32,7 @@ class Pluto: # client
32
32
 
33
33
  def __init__(self, token='', debug=False):
34
34
  self.token = token
35
- # self.try_set(function_name="ip", value=grpc_pb2.Argument(string_value=ip))
35
+ try_set(function_name="init", token=grpc_pb2.Argument(token=token))
36
36
 
37
37
  if debug:
38
38
  print("Pluto Remote Client Initialized.")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: remoteRF
3
- Version: 0.0.7.2
3
+ Version: 0.0.7.4
4
4
  Summary: A python API to remotely access signal centric hardware. Client-side only!
5
5
  Author: Ethan Ge
6
6
  Author-email: ethoGalaxy@gmail.com
@@ -123,7 +123,7 @@ Here is a explained sample script to get you going!
123
123
  from remoteRF.drivers.adalm_pluto import * # Imports device Pluto SDR remote drivers. Change depending on desired device.
124
124
 
125
125
  sdr = adi.Pluto( # Device initialization.
126
- token = 'sample_token' # Place the prior token here.
126
+ token = 'example_token' # Place the prior token here.
127
127
  )
128
128
 
129
129
  # You can now use this 'sdr' as you normally would with the default Pluto drivers.
File without changes
File without changes
File without changes