espercli 0.0.12__tar.gz → 0.0.13__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.
- {espercli-0.0.12 → espercli-0.0.13}/CHANGELOG.md +1 -1
- {espercli-0.0.12 → espercli-0.0.13}/PKG-INFO +3 -3
- {espercli-0.0.12 → espercli-0.0.13}/README.md +2 -2
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/secureadb/secureadb.py +1 -1
- {espercli-0.0.12 → espercli-0.0.13}/esper/core/version.py +1 -1
- {espercli-0.0.12 → espercli-0.0.13}/esper/ext/remoteadb_api.py +10 -0
- {espercli-0.0.12 → espercli-0.0.13}/espercli.egg-info/PKG-INFO +3 -3
- {espercli-0.0.12 → espercli-0.0.13}/espercli.egg-info/SOURCES.txt +0 -1
- {espercli-0.0.12 → espercli-0.0.13}/espercli.egg-info/requires.txt +4 -4
- {espercli-0.0.12 → espercli-0.0.13}/requirements.txt +4 -4
- {espercli-0.0.12 → espercli-0.0.13}/setup.py +5 -5
- espercli-0.0.12/requirements-frozen.txt +0 -50
- {espercli-0.0.12 → espercli-0.0.13}/LICENSE +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/LICENSE.md +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/MANIFEST.in +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/__init__.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/bootstrap.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/__init__.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/application/__init__.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/application/application.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/application/version.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/base.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/commandsV2/__init__.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/commandsV2/commandsV2.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/configure.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/content/__init__.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/content/content.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/device/__init__.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/device/command.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/device/device.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/device/group_command.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/device/install.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/device/status.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/enterprise/__init__.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/enterprise/enterprise.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/enterprise/group.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/enums.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/pipeline/__init__.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/pipeline/execute.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/pipeline/operation.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/pipeline/pipeline.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/pipeline/stage.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/secureadb/__init__.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/telemetry/__init__.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/telemetry/telemetry.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/token/__init__.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/controllers/token/token.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/core/__init__.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/core/exc.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/core/output_handler.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/ext/__init__.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/ext/api_client.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/ext/certs.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/ext/db_wrapper.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/ext/forwarder.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/ext/mediator.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/ext/pipeline_api.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/ext/relay.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/ext/telemetry_api.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/ext/utils.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/main.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/plugins/__init__.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/templates/__init__.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/templates/command1.jinja2 +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/esper/templates/creds.jinja2 +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/espercli.egg-info/dependency_links.txt +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/espercli.egg-info/entry_points.txt +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/espercli.egg-info/top_level.txt +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/requirements-dev.txt +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/setup.cfg +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/tests/test_configure.py +0 -0
- {espercli-0.0.12 → espercli-0.0.13}/tests/test_main.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: espercli
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.13
|
|
4
4
|
Summary: Esper CLI is Command line tool for the Esper APIs
|
|
5
5
|
Home-page: https://github.com/esper-io/esper-cli/
|
|
6
6
|
Author: Esper
|
|
@@ -19,8 +19,8 @@ This package provides a unified command line interface to the Esper API Services
|
|
|
19
19
|
Current stable release versions are
|
|
20
20
|
|
|
21
21
|
API version: 1.0.0
|
|
22
|
-
SDK version: 0.
|
|
23
|
-
CLI version: 0.0.
|
|
22
|
+
SDK version: 0.1.2
|
|
23
|
+
CLI version: 0.0.13
|
|
24
24
|
|
|
25
25
|
## Requirements
|
|
26
26
|
|
|
@@ -201,7 +201,7 @@ class SecureADB(Controller):
|
|
|
201
201
|
self.app.render("Quitting application...\n")
|
|
202
202
|
|
|
203
203
|
except Exception as exc:
|
|
204
|
-
self.app.log.error(f"Failed to establish Secure ADB connection to device: {self.app.pargs.device_name}")
|
|
204
|
+
self.app.log.error(f"Failed to establish Secure ADB connection to device: {self.app.pargs.device_name} {exc}")
|
|
205
205
|
self.app.log.debug(f"Exception Encountered -> {exc}")
|
|
206
206
|
|
|
207
207
|
finally:
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import time
|
|
2
2
|
from logging import Logger
|
|
3
3
|
from typing import Tuple
|
|
4
|
+
import socket
|
|
4
5
|
|
|
5
6
|
import requests
|
|
6
7
|
|
|
@@ -104,6 +105,15 @@ def fetch_relay_endpoint(environment: str,
|
|
|
104
105
|
if is_ok:
|
|
105
106
|
host = remoteadb_session.get("ip")
|
|
106
107
|
port = remoteadb_session.get("client_port")
|
|
108
|
+
remoteadb_host = remoteadb_session.get("remoteadb_host")
|
|
109
|
+
|
|
110
|
+
if remoteadb_host:
|
|
111
|
+
try:
|
|
112
|
+
ip_address = socket.gethostbyname(remoteadb_host)
|
|
113
|
+
host = ip_address
|
|
114
|
+
except socket.error as e:
|
|
115
|
+
log.error(f"[remoteadb-connect] Could not resolve ip address of '{remoteadb_host}'. Error was: {e}")
|
|
116
|
+
raise Exception('Could not resolve ip address of remoteadb host. Please try again later.')
|
|
107
117
|
|
|
108
118
|
if host and port:
|
|
109
119
|
port = int(port)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: espercli
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.13
|
|
4
4
|
Summary: Esper CLI is Command line tool for the Esper APIs
|
|
5
5
|
Home-page: https://github.com/esper-io/esper-cli/
|
|
6
6
|
Author: Esper
|
|
@@ -19,8 +19,8 @@ This package provides a unified command line interface to the Esper API Services
|
|
|
19
19
|
Current stable release versions are
|
|
20
20
|
|
|
21
21
|
API version: 1.0.0
|
|
22
|
-
SDK version: 0.
|
|
23
|
-
CLI version: 0.0.
|
|
22
|
+
SDK version: 0.1.2
|
|
23
|
+
CLI version: 0.0.13
|
|
24
24
|
|
|
25
25
|
## Requirements
|
|
26
26
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
pip==
|
|
1
|
+
pip==21.1
|
|
2
2
|
wheel
|
|
3
3
|
cement==3.0.2
|
|
4
4
|
clint>=0.5.1
|
|
@@ -6,9 +6,9 @@ colorlog>=4.0.2
|
|
|
6
6
|
crayons>=0.2.0
|
|
7
7
|
esperclient>=0.1.2
|
|
8
8
|
jinja2>=2.10.1
|
|
9
|
-
pyyaml>=5.
|
|
10
|
-
requests==2.
|
|
9
|
+
pyyaml>=5.4
|
|
10
|
+
requests==2.32.2
|
|
11
11
|
tabulate>=0.8.3
|
|
12
12
|
tinydb>=3.13.0
|
|
13
13
|
tqdm>=4.32.1
|
|
14
|
-
pyOpenSSL==
|
|
14
|
+
pyOpenSSL==24.1.0
|
|
@@ -4,13 +4,13 @@ colorlog==4.0.2
|
|
|
4
4
|
crayons==0.2.0
|
|
5
5
|
esperclient==0.1.2
|
|
6
6
|
jinja2==2.11.3
|
|
7
|
-
|
|
8
|
-
requests==2.
|
|
7
|
+
pyyaml==6.0.1
|
|
8
|
+
requests==2.32.0
|
|
9
9
|
tabulate==0.8.3
|
|
10
10
|
tinydb==3.13.0
|
|
11
11
|
tqdm==4.32.1
|
|
12
12
|
markupsafe==2.0.1
|
|
13
|
-
cryptography==
|
|
13
|
+
cryptography==42.0.8
|
|
14
14
|
|
|
15
15
|
# For Secure ADB
|
|
16
|
-
pyOpenSSL==
|
|
16
|
+
pyOpenSSL==24.1.0
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
from setuptools import setup, find_packages
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
VERSION = "0.0.
|
|
5
|
+
VERSION = "0.0.13"
|
|
6
6
|
|
|
7
7
|
f = open('README.md', 'r', encoding='utf-8', errors='ignore')
|
|
8
8
|
LONG_DESCRIPTION = f.read()
|
|
@@ -26,7 +26,7 @@ setup(
|
|
|
26
26
|
espercli = esper.main:main
|
|
27
27
|
""",
|
|
28
28
|
install_requires=[
|
|
29
|
-
'pip==
|
|
29
|
+
'pip==21.1',
|
|
30
30
|
'wheel',
|
|
31
31
|
'cement==3.0.2',
|
|
32
32
|
'clint>=0.5.1',
|
|
@@ -34,11 +34,11 @@ setup(
|
|
|
34
34
|
'crayons>=0.2.0',
|
|
35
35
|
'esperclient>=0.1.2',
|
|
36
36
|
'jinja2>=2.10.1',
|
|
37
|
-
'pyyaml>=5.
|
|
38
|
-
'requests==2.
|
|
37
|
+
'pyyaml>=5.4',
|
|
38
|
+
'requests==2.32.2',
|
|
39
39
|
'tabulate>=0.8.3',
|
|
40
40
|
'tinydb>=3.13.0',
|
|
41
41
|
'tqdm>=4.32.1',
|
|
42
|
-
'pyOpenSSL==
|
|
42
|
+
'pyOpenSSL==24.1.0'
|
|
43
43
|
],
|
|
44
44
|
)
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
args==0.1.0
|
|
2
|
-
atomicwrites==1.4.1
|
|
3
|
-
attrs==23.2.0
|
|
4
|
-
backports.tarfile==1.2.0
|
|
5
|
-
cement==3.0.10
|
|
6
|
-
certifi==2024.6.2
|
|
7
|
-
cffi==1.16.0
|
|
8
|
-
charset-normalizer==2.0.12
|
|
9
|
-
clint==0.5.1
|
|
10
|
-
colorama==0.4.6
|
|
11
|
-
colorlog==4.0.2
|
|
12
|
-
coverage==4.5.3
|
|
13
|
-
crayons==0.2.0
|
|
14
|
-
cryptography==38.0.4
|
|
15
|
-
docutils==0.21.2
|
|
16
|
-
esperclient==0.1.2
|
|
17
|
-
idna==3.7
|
|
18
|
-
importlib_metadata==7.1.0
|
|
19
|
-
jaraco.classes==3.4.0
|
|
20
|
-
jaraco.context==5.3.0
|
|
21
|
-
jaraco.functools==4.0.1
|
|
22
|
-
Jinja2==2.11.3
|
|
23
|
-
keyring==25.2.1
|
|
24
|
-
markdown-it-py==3.0.0
|
|
25
|
-
MarkupSafe==2.0.1
|
|
26
|
-
mdurl==0.1.2
|
|
27
|
-
more-itertools==10.3.0
|
|
28
|
-
nh3==0.2.17
|
|
29
|
-
pkginfo==1.11.1
|
|
30
|
-
pluggy==1.5.0
|
|
31
|
-
py==1.11.0
|
|
32
|
-
pycparser==2.22
|
|
33
|
-
Pygments==2.18.0
|
|
34
|
-
pyOpenSSL==22.0.0
|
|
35
|
-
pytest==4.4.1
|
|
36
|
-
pytest-cov==2.6.1
|
|
37
|
-
python-dateutil==2.9.0.post0
|
|
38
|
-
PyYAML==6.0.1
|
|
39
|
-
readme_renderer==43.0
|
|
40
|
-
requests==2.26.0
|
|
41
|
-
requests-toolbelt==1.0.0
|
|
42
|
-
rfc3986==2.0.0
|
|
43
|
-
rich==13.7.1
|
|
44
|
-
six==1.16.0
|
|
45
|
-
tabulate==0.8.3
|
|
46
|
-
tinydb==3.13.0
|
|
47
|
-
tqdm==4.32.1
|
|
48
|
-
twine==5.1.0
|
|
49
|
-
urllib3==1.26.18
|
|
50
|
-
zipp==3.19.2
|
|
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
|
|
File without changes
|