bigeye-cli 0.7.3__tar.gz → 0.7.5__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.
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/PKG-INFO +3 -3
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/CLI_DOCS.md +1 -1
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/configure/configure_commands.py +10 -21
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/functions.py +8 -3
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/pyproject.toml +2 -2
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/LICENSE +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/__init__.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/__main__.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/__version__.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/bigconfig/__init__.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/bigconfig/bigconfig_commands.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/bigconfig/bigconfig_options.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/catalog/__init__.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/catalog/catalog_commands.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/collections/__init__.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/collections/collection_commands.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/configure/__init__.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/deltas/__init__.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/deltas/deltas_commands.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/enums.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/exceptions/__init__.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/exceptions/exceptions.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/global_options.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/issues/__init__.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/issues/issue_commands.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/lineage/__init__.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/lineage/lineage_commands.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/metric/__init__.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/metric/metric_commands.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/model/__init__.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/model/cicd_conf.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/model/github_report.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/model/vendor_report.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/workspace/__init__.py +0 -0
- {bigeye_cli-0.7.3 → bigeye_cli-0.7.5}/bigeye_cli/workspace/workspace_commands.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: bigeye-cli
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.5
|
|
4
4
|
Summary: Bigeye CLI offers developer tools for maintaining your developer workspace.
|
|
5
5
|
Home-page: https://docs.bigeye.com/docs
|
|
6
6
|
License: Proprietary
|
|
@@ -12,13 +12,13 @@ Classifier: Programming Language :: Python :: 3
|
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.11
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
14
14
|
Requires-Dist: PyGithub (>=1.59.1,<2.0.0)
|
|
15
|
-
Requires-Dist: bigeye-sdk (>=0.
|
|
15
|
+
Requires-Dist: bigeye-sdk (>=0.9.0,<0.10.0)
|
|
16
16
|
Requires-Dist: click (>=8.1.8,<9.0.0)
|
|
17
17
|
Requires-Dist: rich (>=14.1.0,<15.0.0)
|
|
18
18
|
Description-Content-Type: text/markdown
|
|
19
19
|
|
|
20
20
|
# **Bigeye CLI**
|
|
21
|
-
Version: 0.7.
|
|
21
|
+
Version: 0.7.5
|
|
22
22
|
## Installation
|
|
23
23
|
|
|
24
24
|
**Setting up your local/build environment**
|
|
@@ -2,17 +2,15 @@ import typer
|
|
|
2
2
|
from rich import print
|
|
3
3
|
from rich.table import Table
|
|
4
4
|
from rich.text import Text
|
|
5
|
-
from typing import List
|
|
6
5
|
|
|
7
6
|
from bigeye_cli.functions import run_enum_menu, get_workspaces_for_user, get_workspace_id_for_user
|
|
8
7
|
from bigeye_cli import global_options
|
|
9
8
|
|
|
10
|
-
from bigeye_sdk.authentication.enums import AuthConfType
|
|
11
|
-
from bigeye_sdk.authentication.api_authentication import BasicAPIAuth,
|
|
9
|
+
from bigeye_sdk.authentication.enums import AuthConfType
|
|
10
|
+
from bigeye_sdk.authentication.api_authentication import BasicAPIAuth, ApiAuth, APIKeyAuth
|
|
12
11
|
from bigeye_sdk.authentication.config import Config
|
|
13
|
-
from bigeye_sdk.client.datawatch_client import
|
|
14
|
-
|
|
15
|
-
from bigeye_sdk.exceptions.exceptions import WorkspaceNotSetException
|
|
12
|
+
from bigeye_sdk.client.datawatch_client import create_api_key_for_configuration
|
|
13
|
+
|
|
16
14
|
|
|
17
15
|
from bigeye_sdk.log import get_logger
|
|
18
16
|
|
|
@@ -40,22 +38,13 @@ def configure(
|
|
|
40
38
|
# If configuring the default workspace or user specifically asked to enter creds, then perform credential
|
|
41
39
|
# workflow
|
|
42
40
|
if workspace == 'DEFAULT' or not use_default_credential:
|
|
43
|
-
auth_type = run_enum_menu(
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
browser_profile_user_name = None
|
|
49
|
-
|
|
50
|
-
if browser_type == BrowserType.CHROME:
|
|
51
|
-
# TODO Could condition on path containing Profile_N directories.
|
|
52
|
-
browser_profile_user_name = Prompt.ask(
|
|
53
|
-
"Enter the profile email if logged into Chrome (Default: None)")
|
|
54
|
-
base_url = Prompt.ask("Enter the Bigeye URL", default="https://app.bigeye.com")
|
|
55
|
-
cred = BrowserAPIAuth(browser=browser_type, base_url=base_url,
|
|
56
|
-
browser_profile_user_name=browser_profile_user_name)
|
|
41
|
+
auth_type = run_enum_menu(
|
|
42
|
+
enum_clz=AuthConfType,
|
|
43
|
+
default=AuthConfType.API_KEY_AUTH,
|
|
44
|
+
exclude=[AuthConfType.BROWSER_AUTH]
|
|
45
|
+
)
|
|
57
46
|
|
|
58
|
-
|
|
47
|
+
if auth_type == AuthConfType.API_KEY_AUTH:
|
|
59
48
|
base_url = Prompt.ask("Enter the Bigeye URL", default="https://app.bigeye.com")
|
|
60
49
|
username = Prompt.ask("Enter Bigeye username")
|
|
61
50
|
uses_sso = Confirm.ask("Do you use SSO to access the Bigeye UI?")
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import enum
|
|
2
2
|
|
|
3
3
|
import os
|
|
4
|
-
from typing import List, Dict, Optional
|
|
4
|
+
from typing import List, Dict, Optional, TypeVar, Type
|
|
5
5
|
import typer
|
|
6
6
|
import yaml
|
|
7
7
|
from rich.prompt import Prompt
|
|
@@ -219,8 +219,13 @@ def write_yaml_templates(metric_templates: List[MetricTemplate], output_path: Op
|
|
|
219
219
|
yaml.dump(data, outfile, indent=2, width=1000)
|
|
220
220
|
|
|
221
221
|
|
|
222
|
-
|
|
223
|
-
|
|
222
|
+
E = TypeVar('E', bound=StrEnum)
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
def run_enum_menu(enum_clz: Type[E], default: E, exclude: Optional[List[E]] = None) -> E:
|
|
226
|
+
exclude = exclude or []
|
|
227
|
+
available_values = [v for v in enum_clz if v not in exclude]
|
|
228
|
+
valid_types: Dict[int, StrEnum] = {index: auth_type for index, auth_type in enumerate(available_values, start=1)}
|
|
224
229
|
valid_type_by_type: Dict[StrEnum, int] = {v: k for k, v in valid_types.items()}
|
|
225
230
|
|
|
226
231
|
user_chosen_type_ix = 0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "bigeye-cli"
|
|
3
|
-
version = "0.7.
|
|
3
|
+
version = "0.7.5"
|
|
4
4
|
description = "Bigeye CLI offers developer tools for maintaining your developer workspace."
|
|
5
5
|
license = "Proprietary"
|
|
6
6
|
authors = ["Bigeye <support@bigeye.com>"]
|
|
@@ -19,7 +19,7 @@ bigeye = "bigeye_cli.__main__:app"
|
|
|
19
19
|
[tool.poetry.dependencies]
|
|
20
20
|
python = "^3.11.0"
|
|
21
21
|
click = "^8.1.8"
|
|
22
|
-
bigeye-sdk = "^0.
|
|
22
|
+
bigeye-sdk = "^0.9.0"
|
|
23
23
|
rich = "^14.1.0"
|
|
24
24
|
PyGithub = '^1.59.1'
|
|
25
25
|
|
|
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
|