dataall-cli 0.4.1__tar.gz → 0.4.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.
- {dataall_cli-0.4.1 → dataall_cli-0.4.3}/PKG-INFO +9 -6
- {dataall_cli-0.4.1 → dataall_cli-0.4.3}/dataall_cli/__init__.py +4 -14
- {dataall_cli-0.4.1 → dataall_cli-0.4.3}/dataall_cli/cli.py +6 -6
- {dataall_cli-0.4.1 → dataall_cli-0.4.3}/pyproject.toml +19 -19
- dataall_cli-0.4.1/dataall_cli/__metadata__.py +0 -11
- {dataall_cli-0.4.1 → dataall_cli-0.4.3}/LICENSE +0 -0
- {dataall_cli-0.4.1 → dataall_cli-0.4.3}/NOTICE +0 -0
- {dataall_cli-0.4.1 → dataall_cli-0.4.3}/NOTICE.txt +0 -0
- {dataall_cli-0.4.1 → dataall_cli-0.4.3}/README.md +0 -0
- {dataall_cli-0.4.1 → dataall_cli-0.4.3}/dataall_cli/__main__.py +0 -0
- {dataall_cli-0.4.1 → dataall_cli-0.4.3}/dataall_cli/bind_commands.py +0 -0
- {dataall_cli-0.4.1 → dataall_cli-0.4.3}/dataall_cli/utils/__init__.py +0 -0
- {dataall_cli-0.4.1 → dataall_cli-0.4.3}/dataall_cli/utils/config.py +0 -0
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: dataall-cli
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.3
|
|
4
4
|
Summary: AWS data.all CLI
|
|
5
5
|
License: Apache-2.0
|
|
6
|
+
License-File: LICENSE
|
|
7
|
+
License-File: NOTICE
|
|
8
|
+
License-File: NOTICE.txt
|
|
6
9
|
Keywords: dataall,aws
|
|
7
10
|
Author: Amazon Web Services
|
|
8
11
|
Requires-Python: >=3.9,<4.0
|
|
@@ -12,11 +15,11 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
12
15
|
Classifier: Programming Language :: Python :: 3.12
|
|
13
16
|
Requires-Dist: PyYAML (>=6.0.1)
|
|
14
17
|
Requires-Dist: atomicfile (>=1.0.1)
|
|
15
|
-
Requires-Dist: boto3 (>=1.
|
|
16
|
-
Requires-Dist: botocore (>=1.
|
|
18
|
+
Requires-Dist: boto3 (>=1.40.55)
|
|
19
|
+
Requires-Dist: botocore (>=1.40.55)
|
|
17
20
|
Requires-Dist: click (>=8.1.6)
|
|
18
|
-
Requires-Dist: dataall-core (
|
|
19
|
-
Requires-Dist: packaging (>=
|
|
21
|
+
Requires-Dist: dataall-core (>=0.4.3)
|
|
22
|
+
Requires-Dist: packaging (>=24.2)
|
|
20
23
|
Requires-Dist: setuptools ; python_version >= "3.12"
|
|
21
24
|
Requires-Dist: typing-extensions (>=4.4.0)
|
|
22
25
|
Description-Content-Type: text/markdown
|
|
@@ -16,22 +16,12 @@ import sys
|
|
|
16
16
|
|
|
17
17
|
from dataall_core.profile import CONFIG_PATH
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
__version__,
|
|
19
|
+
logging.basicConfig(
|
|
20
|
+
stream=sys.stderr,
|
|
21
|
+
format="%(asctime)s - %(name)s - %(levelname)s - %(message)s",
|
|
22
|
+
level=os.environ.get("dataall_cli_loglevel", "INFO").upper(),
|
|
24
23
|
)
|
|
25
24
|
|
|
26
|
-
root_logger = logging.getLogger("dataall_cli")
|
|
27
|
-
root_logger.setLevel(os.environ.get("dataall_cli_loglevel", "INFO").upper())
|
|
28
|
-
|
|
29
|
-
handler = logging.StreamHandler(sys.stdout)
|
|
30
|
-
handler.setFormatter(
|
|
31
|
-
logging.Formatter("%(asctime)s - %(name)s - %(levelname)s - %(message)s")
|
|
32
|
-
)
|
|
33
|
-
root_logger.addHandler(handler)
|
|
34
|
-
|
|
35
25
|
DA_CONFIG_PATH = os.getenv("dataall_config_path", CONFIG_PATH)
|
|
36
26
|
CREDS_PATH = os.getenv("dataall_creds_path", None)
|
|
37
27
|
SCHEMA_PATH = os.getenv("dataall_schema_path", None)
|
|
@@ -9,8 +9,8 @@ import click
|
|
|
9
9
|
from dataall_core.dataall_client import DataallClient
|
|
10
10
|
from dataall_core.profile import CONFIG_PATH
|
|
11
11
|
|
|
12
|
-
from .bind_commands import bind
|
|
13
|
-
from .utils import save_config
|
|
12
|
+
from dataall_cli.bind_commands import bind
|
|
13
|
+
from dataall_cli.utils import save_config
|
|
14
14
|
|
|
15
15
|
DA_CONFIG_PATH = os.getenv("dataall_config_path", CONFIG_PATH)
|
|
16
16
|
CREDS_PATH = os.getenv("dataall_creds_path", None)
|
|
@@ -36,7 +36,7 @@ commands = da.op_dict
|
|
|
36
36
|
@click.group(name="dataall_cli", invoke_without_command=True)
|
|
37
37
|
def dataall_cli() -> None:
|
|
38
38
|
"""data.all cli groups."""
|
|
39
|
-
click.echo("Executing dataall_cli.")
|
|
39
|
+
click.echo("Executing dataall_cli.", err=True)
|
|
40
40
|
pass
|
|
41
41
|
|
|
42
42
|
|
|
@@ -112,7 +112,7 @@ def configure(
|
|
|
112
112
|
profile: str,
|
|
113
113
|
) -> None:
|
|
114
114
|
"""Configure data.all client for a given user, use profile to setup multiple user profiles."""
|
|
115
|
-
click.echo("Configuring data.all CLI...")
|
|
115
|
+
click.echo("Configuring data.all CLI...", err=True)
|
|
116
116
|
|
|
117
117
|
try:
|
|
118
118
|
profile_params_dict = {
|
|
@@ -143,6 +143,6 @@ def configure(
|
|
|
143
143
|
params_dict=profile_params_dict,
|
|
144
144
|
config_path=Path(DA_CONFIG_PATH),
|
|
145
145
|
)
|
|
146
|
-
click.echo("data.all CLI configured successfully.")
|
|
146
|
+
click.echo("data.all CLI configured successfully.", err=True)
|
|
147
147
|
except Exception as e:
|
|
148
|
-
click.echo(f"An error occurred: {e}")
|
|
148
|
+
click.echo(f"An error occurred: {e}", err=True)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "dataall-cli"
|
|
3
|
-
version = "0.4.
|
|
3
|
+
version = "0.4.3"
|
|
4
4
|
description = "AWS data.all CLI"
|
|
5
5
|
authors = [{ name = "Amazon Web Services" }]
|
|
6
6
|
license = { text = "Apache License 2.0" }
|
|
@@ -14,15 +14,15 @@ classifiers = [
|
|
|
14
14
|
]
|
|
15
15
|
requires-python = ">=3.9,<4.0"
|
|
16
16
|
dependencies = [
|
|
17
|
-
"boto3>=1.
|
|
18
|
-
"botocore>=1.
|
|
17
|
+
"boto3>=1.40.55",
|
|
18
|
+
"botocore>=1.40.55",
|
|
19
19
|
"typing-extensions>=4.4.0",
|
|
20
|
-
"packaging>=
|
|
20
|
+
"packaging>=24.2",
|
|
21
21
|
"click>=8.1.6",
|
|
22
22
|
"atomicfile>=1.0.1",
|
|
23
23
|
"PyYAML>=6.0.1",
|
|
24
24
|
"setuptools; python_version >= '3.12'",
|
|
25
|
-
"dataall-core
|
|
25
|
+
"dataall-core>=0.4.3",
|
|
26
26
|
]
|
|
27
27
|
|
|
28
28
|
[project.scripts]
|
|
@@ -35,23 +35,23 @@ exclude = ["*.so", "*.pyc", "*~", "#*", ".git*", ".coverage*", "DS_Store", "__py
|
|
|
35
35
|
[tool.poetry.group.dev.dependencies]
|
|
36
36
|
# Build
|
|
37
37
|
setuptools = "*"
|
|
38
|
-
wheel = "^0.
|
|
38
|
+
wheel = "^0.45.1"
|
|
39
39
|
msgpack = "*"
|
|
40
40
|
|
|
41
41
|
# Lint
|
|
42
|
-
boto3-stubs = { version = "^1.
|
|
42
|
+
boto3-stubs = { version = "^1.40.50", extras = ["athena", "cleanrooms", "chime", "cloudwatch", "dynamodb", "ec2", "emr", "emr-serverless", "glue", "kms", "lakeformation", "logs", "neptune", "opensearch", "opensearchserverless", "quicksight", "rds", "rds-data", "redshift", "redshift-data", "s3", "secretsmanager", "ssm", "sts", "timestream-query", "timestream-write"] }
|
|
43
43
|
doc8 = "^1.0"
|
|
44
|
-
mypy = "^1.
|
|
45
|
-
pylint = "^3.
|
|
46
|
-
ruff = "^0.
|
|
44
|
+
mypy = "^1.18"
|
|
45
|
+
pylint = "^3.3"
|
|
46
|
+
ruff = "^0.14.0"
|
|
47
47
|
|
|
48
48
|
# Test
|
|
49
|
-
moto = "^
|
|
49
|
+
moto = "^5.1"
|
|
50
50
|
openpyxl = "^3.0"
|
|
51
|
-
pyparsing = "^3.
|
|
52
|
-
pytest = "^8.4.
|
|
53
|
-
pytest-cov = "^
|
|
54
|
-
pytest-rerunfailures = "^
|
|
51
|
+
pyparsing = "^3.2.5"
|
|
52
|
+
pytest = "^8.4.2"
|
|
53
|
+
pytest-cov = "^7.0"
|
|
54
|
+
pytest-rerunfailures = "^16.0"
|
|
55
55
|
pytest-timeout = "^2.1.0"
|
|
56
56
|
pytest-xdist = "^3.0.2"
|
|
57
57
|
tox = "^4.5.0"
|
|
@@ -64,11 +64,11 @@ nbsphinx-link = "^1.3.0"
|
|
|
64
64
|
sphinx = "^7.1"
|
|
65
65
|
sphinx-bootstrap-theme = "^0.8"
|
|
66
66
|
sphinx-copybutton = "^0.5.1"
|
|
67
|
-
pydot = "^
|
|
68
|
-
myst-parser = "^
|
|
69
|
-
sphinx-click = "^
|
|
67
|
+
pydot = "^4.0.1"
|
|
68
|
+
myst-parser = "^3.0.1"
|
|
69
|
+
sphinx-click = "^6.0.0"
|
|
70
70
|
sphinx-autobuild = "^2024.4.0"
|
|
71
|
-
pytest-mock = "^3.
|
|
71
|
+
pytest-mock = "^3.15.1"
|
|
72
72
|
|
|
73
73
|
|
|
74
74
|
[build-system]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|