pyntcli 0.1.104__py3-none-any.whl → 0.1.106__py3-none-any.whl
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.
- pyntcli/__init__.py +1 -1
- pyntcli/analytics/send.py +10 -2
- pyntcli/commands/har.py +1 -1
- pyntcli/commands/newman.py +3 -3
- {pyntcli-0.1.104.dist-info → pyntcli-0.1.106.dist-info}/METADATA +1 -1
- {pyntcli-0.1.104.dist-info → pyntcli-0.1.106.dist-info}/RECORD +9 -9
- {pyntcli-0.1.104.dist-info → pyntcli-0.1.106.dist-info}/WHEEL +0 -0
- {pyntcli-0.1.104.dist-info → pyntcli-0.1.106.dist-info}/entry_points.txt +0 -0
- {pyntcli-0.1.104.dist-info → pyntcli-0.1.106.dist-info}/top_level.txt +0 -0
pyntcli/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.1.
|
|
1
|
+
__version__ = "0.1.106"
|
pyntcli/analytics/send.py
CHANGED
|
@@ -95,7 +95,11 @@ class AnalyticsSender():
|
|
|
95
95
|
if self.disable_analytics:
|
|
96
96
|
logger.info(f"Analytics disabled, not sending: {base_event}")
|
|
97
97
|
else:
|
|
98
|
-
|
|
98
|
+
try:
|
|
99
|
+
pynt_requests.post(MIXPANEL_URL, json=[base_event])
|
|
100
|
+
except Exception as e:
|
|
101
|
+
logger.error(f"Failed to send analytics event: {base_event}, error: {e}")
|
|
102
|
+
pass
|
|
99
103
|
else:
|
|
100
104
|
self.events.append(base_event)
|
|
101
105
|
|
|
@@ -116,6 +120,10 @@ class AnalyticsSender():
|
|
|
116
120
|
|
|
117
121
|
def done(self):
|
|
118
122
|
if self.events and not self.disable_analytics:
|
|
119
|
-
|
|
123
|
+
try:
|
|
124
|
+
pynt_requests.post(MIXPANEL_URL, json=self.events)
|
|
125
|
+
except Exception as e:
|
|
126
|
+
logger.error(f"Failed to send analytics events. error: {e}")
|
|
127
|
+
pass
|
|
120
128
|
|
|
121
129
|
self.events = []
|
pyntcli/commands/har.py
CHANGED
|
@@ -105,7 +105,7 @@ class HarSubCommand(sub_command.PyntSubCommand):
|
|
|
105
105
|
ui_thread.PrinterText.INFO,
|
|
106
106
|
))
|
|
107
107
|
|
|
108
|
-
ui_thread.print_generator(
|
|
108
|
+
ui_thread.print_generator(har_docker.stdout)
|
|
109
109
|
|
|
110
110
|
with ui_thread.progress(
|
|
111
111
|
"ws://localhost:{}/progress".format(port),
|
pyntcli/commands/newman.py
CHANGED
|
@@ -117,9 +117,9 @@ class NewmanSubCommand(sub_command.PyntSubCommand):
|
|
|
117
117
|
ui_thread.print(ui_thread.PrinterText(
|
|
118
118
|
"Pynt docker is ready",
|
|
119
119
|
ui_thread.PrinterText.INFO,
|
|
120
|
-
))
|
|
121
|
-
|
|
122
|
-
ui_thread.print_generator(
|
|
120
|
+
))
|
|
121
|
+
|
|
122
|
+
ui_thread.print_generator(newman_docker.stdout)
|
|
123
123
|
|
|
124
124
|
with ui_thread.progress(
|
|
125
125
|
"ws://localhost:{}/progress".format(port),
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
ignoreTests/conftest.py,sha256=gToq5K74GtgeGQXjFvXSzMaE6axBYxAzcFG5XJPOXjI,427
|
|
2
2
|
ignoreTests/auth/login.py,sha256=KFlzWhXBAuwdi7GXf16gCB3ya94LQG2wjcSChE149rQ,3798
|
|
3
3
|
ignoreTests/store/cred_store.py,sha256=_7-917EtNC9eKEumO2_lt-7KuDmCwOZFaowCm7DbA_A,254
|
|
4
|
-
pyntcli/__init__.py,sha256=
|
|
4
|
+
pyntcli/__init__.py,sha256=LmXcDdihVpyvQpTXoatgAItrW56sl-TqZAlSwrMEouU,24
|
|
5
5
|
pyntcli/main.py,sha256=RD0W2_0ogYBCXubo-YewxHYkiIXxNv6NkZOh3n1VujE,5964
|
|
6
6
|
pyntcli/analytics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
-
pyntcli/analytics/send.py,sha256=
|
|
7
|
+
pyntcli/analytics/send.py,sha256=0hJ0WJNFHLqyohtRr_xOg5WEXzxHrUOlcePPg-k65Hk,3846
|
|
8
8
|
pyntcli/auth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
pyntcli/auth/login.py,sha256=TljsRXbEkNI1YUrKm5mlTw4YiecYScYUsit8Z8vstss,5228
|
|
10
10
|
pyntcli/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
11
|
pyntcli/commands/burp.py,sha256=5lZKSDHJvmVNvxEkQPKQ4lNx8pSzEK-rTHhSvn-ZBtY,12253
|
|
12
12
|
pyntcli/commands/command.py,sha256=7x5eGXGz1rHtAy-Shdh3KLIqQ7TVAZEKd5DiKaCLOSQ,10998
|
|
13
|
-
pyntcli/commands/har.py,sha256=
|
|
13
|
+
pyntcli/commands/har.py,sha256=oZXqYphNuFD_9jbCfHTmc8RfNziuR7PMKMETYmQIM0g,4300
|
|
14
14
|
pyntcli/commands/id_command.py,sha256=UBEgMIpm4vauTCsKyixltiGUolNg_OfHEJvJ_i5BpJY,943
|
|
15
15
|
pyntcli/commands/listen.py,sha256=oxgMvJYpPEu6h8qRFoueGF3a_nmwzaWMPL8ucfy7yxE,8983
|
|
16
|
-
pyntcli/commands/newman.py,sha256=
|
|
16
|
+
pyntcli/commands/newman.py,sha256=e6SF9nwncGsuTfIB05daFHln-njCYSXeR51-JZcMZBE,5160
|
|
17
17
|
pyntcli/commands/postman.py,sha256=gV7Y_NM6oUQl1b7mLiGKnzityCuCE9RYMLFfeHFD-Gc,4980
|
|
18
18
|
pyntcli/commands/pynt_cmd.py,sha256=T7jee0yw67Zth3lTkSDInCLnbu_IhpNqb7GqnTiTceQ,7012
|
|
19
19
|
pyntcli/commands/root.py,sha256=UtGky7LfbfQ6mELHoNJcdHznFrUVBlhXI47_8QdApfc,4068
|
|
@@ -39,8 +39,8 @@ pyntcli/ui/report.py,sha256=W-icPSZrGLOubXgam0LpOvHLl_aZg9Zx9qIkL8Ym5PE,1930
|
|
|
39
39
|
pyntcli/ui/ui_thread.py,sha256=XUBgLpYQjVhrilU-ofw7VSXgTiwneSdTxm61EvC3x4Q,5091
|
|
40
40
|
tests/test_utils.py,sha256=t5fTQUk1U_Js6iMxcGYGqt4C-crzOJ0CqCKtLkRtUi0,2050
|
|
41
41
|
tests/commands/test_pynt_cmd.py,sha256=BjGFCFACcSziLrNA6_27t6TjSmvdu54wx9njwLpRSJY,8379
|
|
42
|
-
pyntcli-0.1.
|
|
43
|
-
pyntcli-0.1.
|
|
44
|
-
pyntcli-0.1.
|
|
45
|
-
pyntcli-0.1.
|
|
46
|
-
pyntcli-0.1.
|
|
42
|
+
pyntcli-0.1.106.dist-info/METADATA,sha256=nPVZLD9-2pZHB59DlsLjZlhpALF6O-zrqDnQ1bYIU0c,428
|
|
43
|
+
pyntcli-0.1.106.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
|
44
|
+
pyntcli-0.1.106.dist-info/entry_points.txt,sha256=kcGmqAxXDttNk2EPRcqunc_LTVp61gzakz0v-GEE2SY,43
|
|
45
|
+
pyntcli-0.1.106.dist-info/top_level.txt,sha256=64XSgBzSpgwjYjEKHZE7q3JH2a816zEeyZBXfJi3AKI,42
|
|
46
|
+
pyntcli-0.1.106.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|