etlplus 0.16.8__py3-none-any.whl → 0.16.10__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.
- etlplus/cli/main.py +1 -22
- {etlplus-0.16.8.dist-info → etlplus-0.16.10.dist-info}/METADATA +3 -4
- {etlplus-0.16.8.dist-info → etlplus-0.16.10.dist-info}/RECORD +7 -7
- {etlplus-0.16.8.dist-info → etlplus-0.16.10.dist-info}/WHEEL +0 -0
- {etlplus-0.16.8.dist-info → etlplus-0.16.10.dist-info}/entry_points.txt +0 -0
- {etlplus-0.16.8.dist-info → etlplus-0.16.10.dist-info}/licenses/LICENSE +0 -0
- {etlplus-0.16.8.dist-info → etlplus-0.16.10.dist-info}/top_level.txt +0 -0
etlplus/cli/main.py
CHANGED
|
@@ -3,15 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
Entry point helpers for the Typer-powered ``etlplus`` CLI.
|
|
5
5
|
|
|
6
|
-
This module exposes :func:`main` for the console script
|
|
7
|
-
:func:`create_parser`, which is kept for compatibility but now raises.
|
|
6
|
+
This module exposes :func:`main` for the console script.
|
|
8
7
|
"""
|
|
9
8
|
|
|
10
9
|
from __future__ import annotations
|
|
11
10
|
|
|
12
11
|
import contextlib
|
|
13
12
|
import sys
|
|
14
|
-
import warnings
|
|
15
13
|
|
|
16
14
|
import click
|
|
17
15
|
import typer
|
|
@@ -121,25 +119,6 @@ def _is_unknown_command_error(
|
|
|
121
119
|
# SECTION: FUNCTIONS ======================================================== #
|
|
122
120
|
|
|
123
121
|
|
|
124
|
-
def create_parser() -> object:
|
|
125
|
-
"""
|
|
126
|
-
Deprecated legacy entrypoint.
|
|
127
|
-
|
|
128
|
-
The argparse-based parser has been removed. Use the Typer-powered
|
|
129
|
-
``etlplus`` CLI instead (``etlplus.cli.commands.app``).
|
|
130
|
-
"""
|
|
131
|
-
warnings.warn(
|
|
132
|
-
'create_parser is deprecated and no longer returns an argparse '
|
|
133
|
-
'parser. Use the Typer CLI entrypoint instead.',
|
|
134
|
-
DeprecationWarning,
|
|
135
|
-
stacklevel=2,
|
|
136
|
-
)
|
|
137
|
-
raise RuntimeError(
|
|
138
|
-
'The legacy argparse parser has been removed. Invoke the Typer-based '
|
|
139
|
-
'CLI via `etlplus` or import `etlplus.cli.commands.app`.',
|
|
140
|
-
)
|
|
141
|
-
|
|
142
|
-
|
|
143
122
|
def main(
|
|
144
123
|
argv: list[str] | None = None,
|
|
145
124
|
) -> int:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: etlplus
|
|
3
|
-
Version: 0.16.
|
|
3
|
+
Version: 0.16.10
|
|
4
4
|
Summary: A Swiss Army knife for simple ETL operations
|
|
5
5
|
Home-page: https://github.com/Dagitali/ETLPlus
|
|
6
6
|
Author: ETLPlus Team
|
|
@@ -355,9 +355,8 @@ etlplus --help
|
|
|
355
355
|
etlplus --version
|
|
356
356
|
```
|
|
357
357
|
|
|
358
|
-
The CLI is implemented with Typer (Click-based). The legacy argparse parser has been removed
|
|
359
|
-
|
|
360
|
-
--help` for current options.
|
|
358
|
+
The CLI is implemented with Typer (Click-based). The legacy argparse parser has been removed, so
|
|
359
|
+
rely on the documented commands/flags and run `etlplus <command> --help` for current options.
|
|
361
360
|
|
|
362
361
|
**Example error messages:**
|
|
363
362
|
|
|
@@ -33,7 +33,7 @@ etlplus/cli/commands.py,sha256=Mbnu_YYUrOumbDjkul9x5VjP8VXW5u08xNi4nLF9Yyo,25048
|
|
|
33
33
|
etlplus/cli/constants.py,sha256=0F7dXIQKWUhhVu2Us527GJeknJIWpBqz7CK2e5OQgcE,1947
|
|
34
34
|
etlplus/cli/handlers.py,sha256=JdN7W7mqmQL9xyU7PkBtsQf7eu3j5-E2AhAQvbfy-4g,18470
|
|
35
35
|
etlplus/cli/io.py,sha256=tGGNQ4ecezqj-mD285fgBVrYdphdeqApsyV9VojOj1I,7836
|
|
36
|
-
etlplus/cli/main.py,sha256=
|
|
36
|
+
etlplus/cli/main.py,sha256=rdpRnyUOsTLJvuVtBya_6vL11drcN1yGm8NlewkICAY,4544
|
|
37
37
|
etlplus/cli/options.py,sha256=vfXT3YLh7wG1iC-aTdSg6ItMC8l6n0Lozmy53XjqLbA,1199
|
|
38
38
|
etlplus/cli/state.py,sha256=3Dq5BKct0uAvRajtc2yHbsX7wqepZOwlAMKsyvQcnqk,7918
|
|
39
39
|
etlplus/cli/types.py,sha256=tclhKVJXDqHzlTQBYKARfqMgDOcuBJ-Zej2pvFy96WM,652
|
|
@@ -135,9 +135,9 @@ etlplus/workflow/__init__.py,sha256=XgCQr684om0rONrQZ61yQ0r4qqFQL0iLAAB2Mn2BRSE,
|
|
|
135
135
|
etlplus/workflow/dag.py,sha256=-f1x8N1eb-PUuiOwEvFLmJwfR7JaMDJihlCHlhrFhgE,2937
|
|
136
136
|
etlplus/workflow/jobs.py,sha256=hLE9QJUzQaI0aOEon0P-xxxa6xHp997ANei4F310WRY,8711
|
|
137
137
|
etlplus/workflow/profile.py,sha256=FQU3bzBZ9_yjKC9kCXKN1FQDS9zjNUjtWB1r3UL95_Q,1993
|
|
138
|
-
etlplus-0.16.
|
|
139
|
-
etlplus-0.16.
|
|
140
|
-
etlplus-0.16.
|
|
141
|
-
etlplus-0.16.
|
|
142
|
-
etlplus-0.16.
|
|
143
|
-
etlplus-0.16.
|
|
138
|
+
etlplus-0.16.10.dist-info/licenses/LICENSE,sha256=MuNO63i6kWmgnV2pbP2SLqP54mk1BGmu7CmbtxMmT-U,1069
|
|
139
|
+
etlplus-0.16.10.dist-info/METADATA,sha256=UGV39FYsRF7O2tL135t1RtoKhNm4C4pkqd7RTKjQYqU,28505
|
|
140
|
+
etlplus-0.16.10.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
141
|
+
etlplus-0.16.10.dist-info/entry_points.txt,sha256=6w-2-jzuPa55spzK34h-UKh2JTEShh38adFRONNP9QE,45
|
|
142
|
+
etlplus-0.16.10.dist-info/top_level.txt,sha256=aWWF-udn_sLGuHTM6W6MLh99ArS9ROkUWO8Mi8y1_2U,8
|
|
143
|
+
etlplus-0.16.10.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|