naeural-client 2.4.5__py3-none-any.whl → 2.4.6__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.
- naeural_client/_ver.py +1 -1
- naeural_client/logging/logger_mixins/download_mixin.py +5 -0
- {naeural_client-2.4.5.dist-info → naeural_client-2.4.6.dist-info}/METADATA +1 -1
- {naeural_client-2.4.5.dist-info → naeural_client-2.4.6.dist-info}/RECORD +7 -7
- {naeural_client-2.4.5.dist-info → naeural_client-2.4.6.dist-info}/WHEEL +0 -0
- {naeural_client-2.4.5.dist-info → naeural_client-2.4.6.dist-info}/entry_points.txt +0 -0
- {naeural_client-2.4.5.dist-info → naeural_client-2.4.6.dist-info}/licenses/LICENSE +0 -0
naeural_client/_ver.py
CHANGED
@@ -363,6 +363,9 @@ class _DownloadMixin(object):
|
|
363
363
|
import urllib3
|
364
364
|
from datetime import timedelta
|
365
365
|
|
366
|
+
if isinstance(secure, str):
|
367
|
+
secure = secure.lower() in ['true', 'yes', '1']
|
368
|
+
|
366
369
|
try:
|
367
370
|
start_up = time()
|
368
371
|
|
@@ -371,6 +374,7 @@ class _DownloadMixin(object):
|
|
371
374
|
cert_reqs = None
|
372
375
|
http_client = None
|
373
376
|
if secure:
|
377
|
+
self.P(f"Creating secure connection to Minio (secure({type(secure)}): {secure})...", color='y')
|
374
378
|
if SSL_CERT_FILE is not None:
|
375
379
|
if not os.path.isfile(SSL_CERT_FILE):
|
376
380
|
raise ValueError("Invalid SSL_CERT_FILE in config")
|
@@ -391,6 +395,7 @@ class _DownloadMixin(object):
|
|
391
395
|
status_forcelist=[500, 502, 503, 504]
|
392
396
|
)
|
393
397
|
)
|
398
|
+
#endif
|
394
399
|
self.P("Downloading from Minio: <{} {} @{}>, secure:{}, SSL_CERT_FILE:'{}', cert_reqs:'{}' using http_client: {}...".format(
|
395
400
|
access_key, secret_key, endpoint, secure, SSL_CERT_FILE,
|
396
401
|
cert_reqs,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: naeural_client
|
3
|
-
Version: 2.4.
|
3
|
+
Version: 2.4.6
|
4
4
|
Summary: `naeural_client` is the Python SDK required for client app development for the Naeural Edge Protocol Edge Protocol framework
|
5
5
|
Project-URL: Homepage, https://github.com/NaeuralEdgeProtocol/naeural_client
|
6
6
|
Project-URL: Bug Tracker, https://github.com/NaeuralEdgeProtocol/naeural_client/issues
|
@@ -1,5 +1,5 @@
|
|
1
1
|
naeural_client/__init__.py,sha256=UKEDGS0wFYyxwmhEAKJGecO2vYbIfRYUP4SQgnK10IE,578
|
2
|
-
naeural_client/_ver.py,sha256=
|
2
|
+
naeural_client/_ver.py,sha256=zKcAm4e0QSrkiLJJYIfGbBHsr-rZsc6iF7H58VmkETk,330
|
3
3
|
naeural_client/base_decentra_object.py,sha256=wXjl65gWxxkhV6Tq48wFfNGITvdYdkKPT-wLurGB5vc,4287
|
4
4
|
naeural_client/plugins_manager_mixin.py,sha256=X1JdGLDz0gN1rPnTN_5mJXR8JmqoBFQISJXmPR9yvCo,11106
|
5
5
|
naeural_client/base/__init__.py,sha256=hACh83_cIv7-PwYMM3bQm2IBmNqiHw-3PAfDfAEKz9A,259
|
@@ -62,7 +62,7 @@ naeural_client/logging/logger_mixins/__init__.py,sha256=yQO7umlRvz63FeWpi-F9GRmC
|
|
62
62
|
naeural_client/logging/logger_mixins/class_instance_mixin.py,sha256=xUXE2VZgmrlrSrvw0f6GF1jlTnVLeVkIiG0bhlBfq3o,2741
|
63
63
|
naeural_client/logging/logger_mixins/computer_vision_mixin.py,sha256=TrtG7ayM2ab-4jjIkIWAQaFi9cVfiINAWrJCt8mCCFI,13213
|
64
64
|
naeural_client/logging/logger_mixins/datetime_mixin.py,sha256=x0l2mhhmNZ6r_SmJ5or7dxAf2e4tQL0LiBsj3RDu6pU,11288
|
65
|
-
naeural_client/logging/logger_mixins/download_mixin.py,sha256=
|
65
|
+
naeural_client/logging/logger_mixins/download_mixin.py,sha256=8eu3w-H1LI6OmC_ZwzU3WrWMENQKdEZ2HjnQsAixwM0,13500
|
66
66
|
naeural_client/logging/logger_mixins/general_serialization_mixin.py,sha256=3glOuN6Whi_GSxb1OiFitzypOqkf_x2RJGfGaO51_WE,7440
|
67
67
|
naeural_client/logging/logger_mixins/json_serialization_mixin.py,sha256=C3HtEAXV7DcWTV0g9K-sDvH4fd5Y_pimVVQylr8TO8M,14462
|
68
68
|
naeural_client/logging/logger_mixins/pickle_serialization_mixin.py,sha256=9BftwBe56e94FXjyf8c8m4GEvIvzNdK_jpQPtIIJbXY,9185
|
@@ -80,8 +80,8 @@ naeural_client/utils/__init__.py,sha256=mAnke3-MeRzz3nhQvhuHqLnpaaCSmDxicd7Ck9uw
|
|
80
80
|
naeural_client/utils/comm_utils.py,sha256=4cS9llRr_pK_3rNgDcRMCQwYPO0kcNU7AdWy_LtMyCY,1072
|
81
81
|
naeural_client/utils/config.py,sha256=t_VzyBnRHJa-Kt71HUu9gXxeDOri1Aqf_-gjO04gAYs,3681
|
82
82
|
naeural_client/utils/dotenv.py,sha256=_AgSo35n7EnQv5yDyu7C7i0kHragLJoCGydHjvOkrYY,2008
|
83
|
-
naeural_client-2.4.
|
84
|
-
naeural_client-2.4.
|
85
|
-
naeural_client-2.4.
|
86
|
-
naeural_client-2.4.
|
87
|
-
naeural_client-2.4.
|
83
|
+
naeural_client-2.4.6.dist-info/METADATA,sha256=a-crxanJN9BcwuAJykuT4g3hhamt2mBD_youSZqmq5w,14471
|
84
|
+
naeural_client-2.4.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
85
|
+
naeural_client-2.4.6.dist-info/entry_points.txt,sha256=PNdyotDaQBAslZREx5luVyj0kqpQnwNACwkFNTPIHU4,55
|
86
|
+
naeural_client-2.4.6.dist-info/licenses/LICENSE,sha256=cvOsJVslde4oIaTCadabXnPqZmzcBO2f2zwXZRmJEbE,11311
|
87
|
+
naeural_client-2.4.6.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|