gigantum
Advanced tools
| Metadata-Version: 2.1 | ||
| Name: gigantum | ||
| Version: 1.3.1 | ||
| Version: 1.3.2 | ||
| Summary: CLI for the Gigantum Client | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/gigantum/gigantum-cli |
| # Gigantum CLI Version | ||
| __version__ = "1.3.1" | ||
| __version__ = "1.3.2" |
@@ -9,2 +9,4 @@ import platform | ||
| import requests | ||
| from requests.packages.urllib3.exceptions import InsecureRequestWarning | ||
| import uuid | ||
@@ -18,3 +20,8 @@ import click | ||
| # We can disable this because requests is just being used to verify API connectivity | ||
| # and in a context where the client is running with HTTPS, the lookup still happens on | ||
| # localhost so ssl verification will fail anyway. | ||
| requests.packages.urllib3.disable_warnings(InsecureRequestWarning) | ||
| def _check_for_api(port: int = 10000, launch_browser: bool = False, timeout: int = 5): | ||
@@ -157,2 +164,5 @@ """Check for the API to be live for up to `timeout` seconds, then optionally launch a browser window | ||
| port_mapping = {'10000/tcp': (interface, port)} | ||
| if port == 443: | ||
| # Running on https, set up http->https redirect | ||
| port_mapping['10080/tcp'] = (interface, 80) | ||
@@ -159,0 +169,0 @@ # Make sure the container-container share volume exists |
+1
-1
| Metadata-Version: 2.1 | ||
| Name: gigantum | ||
| Version: 1.3.1 | ||
| Version: 1.3.2 | ||
| Summary: CLI for the Gigantum Client | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/gigantum/gigantum-cli |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
126664
0.39%1820
0.44%