centralcli 6.3.2__tar.gz → 6.3.3__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.
- {centralcli-6.3.2 → centralcli-6.3.3}/PKG-INFO +1 -1
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/render.py +9 -1
- {centralcli-6.3.2 → centralcli-6.3.3}/pyproject.toml +1 -1
- {centralcli-6.3.2 → centralcli-6.3.3}/LICENSE +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/README.md +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/__init__.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/boilerplate/README.md +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/boilerplate/_cnx_allcalls.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/boilerplate/allcalls.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/caas.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/cache.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/central.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/cleaner.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/cli.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/cliadd.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/cliassign.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/clibatch.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/clicaas.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/cliclone.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/clicommon.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/clidel.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/clidelfirmware.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/cliexport.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/clikick.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/clioptions.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/clirefresh.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/clirename.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/cliset.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/clisetfirmware.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/clishow.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/clishowaudit.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/clishowbandwidth.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/clishowbranch.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/clishowcloudauth.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/clishowfirmware.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/clishowmpsk.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/clishowospf.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/clishowoverlay.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/clishowtshoot.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/clishowwids.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/clitest.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/clitshoot.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/cliunassign.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/cliupdate.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/cliupgrade.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/config.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/constants.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/exceptions.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/logger.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/models.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/objects.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/response.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/setup.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/static/favicon.ico +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/strings.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/utils.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/vscodeargs.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/wh2snow.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/wh_proxy.py +0 -0
- {centralcli-6.3.2 → centralcli-6.3.3}/centralcli/wh_proxy_service.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: centralcli
|
|
3
|
-
Version: 6.3.
|
|
3
|
+
Version: 6.3.3
|
|
4
4
|
Summary: A CLI for interacting with Aruba Central (Cloud Management Platform). Facilitates bulk imports, exports, reporting. A handy tool if you have devices managed by Aruba Central.
|
|
5
5
|
Home-page: https://github.com/Pack3tL0ss/central-api-cli
|
|
6
6
|
License: MIT
|
|
@@ -24,7 +24,11 @@ from rich.table import Table
|
|
|
24
24
|
from rich.text import Text
|
|
25
25
|
from rich import print
|
|
26
26
|
from datetime import datetime
|
|
27
|
-
|
|
27
|
+
|
|
28
|
+
try: # uniplot depends on numpy which throws an error on rpi
|
|
29
|
+
from uniplot import plot
|
|
30
|
+
except ImportError:
|
|
31
|
+
plot = None
|
|
28
32
|
|
|
29
33
|
# Detect if called from pypi installed package or via cloned github repo (development)
|
|
30
34
|
try:
|
|
@@ -471,6 +475,10 @@ def rich_capture(text: str | List[str], emoji: bool = False, **kwargs) -> str:
|
|
|
471
475
|
|
|
472
476
|
|
|
473
477
|
def bandwidth_graph(resp: Response, title: str = "Bandwidth Usage") -> None:
|
|
478
|
+
if not plot:
|
|
479
|
+
print(":warning: Graphing in the terminal is not available for this platform (numpy C extensions need to be built manually). Use formatting flags i.e. [cyan]--table[/] to see the timeseries data.")
|
|
480
|
+
raise typer.Exit(1)
|
|
481
|
+
|
|
474
482
|
tx_data = [x["tx_data_bytes"] for x in resp.output]
|
|
475
483
|
rx_data = [x["rx_data_bytes"] for x in resp.output]
|
|
476
484
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "centralcli"
|
|
3
|
-
version = "6.3.
|
|
3
|
+
version = "6.3.3"
|
|
4
4
|
description = "A CLI for interacting with Aruba Central (Cloud Management Platform). Facilitates bulk imports, exports, reporting. A handy tool if you have devices managed by Aruba Central."
|
|
5
5
|
license = "MIT"
|
|
6
6
|
authors = ["Wade Wells (Pack3tL0ss) <wade@consolepi.org>"]
|
|
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
|