etlplus 0.11.2__py3-none-any.whl → 0.11.3__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/file/__init__.py +0 -2
- etlplus/file/enums.py +0 -28
- {etlplus-0.11.2.dist-info → etlplus-0.11.3.dist-info}/METADATA +1 -1
- {etlplus-0.11.2.dist-info → etlplus-0.11.3.dist-info}/RECORD +8 -8
- {etlplus-0.11.2.dist-info → etlplus-0.11.3.dist-info}/WHEEL +0 -0
- {etlplus-0.11.2.dist-info → etlplus-0.11.3.dist-info}/entry_points.txt +0 -0
- {etlplus-0.11.2.dist-info → etlplus-0.11.3.dist-info}/licenses/LICENSE +0 -0
- {etlplus-0.11.2.dist-info → etlplus-0.11.3.dist-info}/top_level.txt +0 -0
etlplus/file/__init__.py
CHANGED
|
@@ -9,7 +9,6 @@ from __future__ import annotations
|
|
|
9
9
|
from .core import File
|
|
10
10
|
from .enums import CompressionFormat
|
|
11
11
|
from .enums import FileFormat
|
|
12
|
-
from .enums import coerce_file_format
|
|
13
12
|
from .enums import infer_file_format_and_compression
|
|
14
13
|
|
|
15
14
|
# SECTION: EXPORTS ========================================================== #
|
|
@@ -22,6 +21,5 @@ __all__ = [
|
|
|
22
21
|
'CompressionFormat',
|
|
23
22
|
'FileFormat',
|
|
24
23
|
# Functions
|
|
25
|
-
'coerce_file_format',
|
|
26
24
|
'infer_file_format_and_compression',
|
|
27
25
|
]
|
etlplus/file/enums.py
CHANGED
|
@@ -16,8 +16,6 @@ from ..types import StrStrMap
|
|
|
16
16
|
__all__ = [
|
|
17
17
|
'CompressionFormat',
|
|
18
18
|
'FileFormat',
|
|
19
|
-
'coerce_compression_format',
|
|
20
|
-
'coerce_file_format',
|
|
21
19
|
'infer_file_format_and_compression',
|
|
22
20
|
]
|
|
23
21
|
|
|
@@ -164,32 +162,6 @@ _COMPRESSION_FILE_FORMATS: set[FileFormat] = {
|
|
|
164
162
|
# SECTION: FUNCTIONS ======================================================== #
|
|
165
163
|
|
|
166
164
|
|
|
167
|
-
# TODO: Deprecate in favor of using the enum methods directly.
|
|
168
|
-
def coerce_compression_format(
|
|
169
|
-
compression_format: CompressionFormat | str,
|
|
170
|
-
) -> CompressionFormat:
|
|
171
|
-
"""
|
|
172
|
-
Normalize textual compression format values to :class:`CompressionFormat`.
|
|
173
|
-
|
|
174
|
-
This thin wrapper is kept for backward compatibility; prefer
|
|
175
|
-
:meth:`CompressionFormat.coerce` going forward.
|
|
176
|
-
"""
|
|
177
|
-
return CompressionFormat.coerce(compression_format)
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
# TODO: Deprecate in favor of using the enum methods directly.
|
|
181
|
-
def coerce_file_format(
|
|
182
|
-
file_format: FileFormat | str,
|
|
183
|
-
) -> FileFormat:
|
|
184
|
-
"""
|
|
185
|
-
Normalize textual file format values to :class:`FileFormat`.
|
|
186
|
-
|
|
187
|
-
This thin wrapper is kept for backward compatibility; prefer
|
|
188
|
-
:meth:`FileFormat.coerce` going forward.
|
|
189
|
-
"""
|
|
190
|
-
return FileFormat.coerce(file_format)
|
|
191
|
-
|
|
192
|
-
|
|
193
165
|
# TODO: Convert to a method on FileFormat or CompressionFormat?
|
|
194
166
|
def infer_file_format_and_compression(
|
|
195
167
|
value: object,
|
|
@@ -51,10 +51,10 @@ etlplus/database/engine.py,sha256=7rr7YndA8LwyWJL8k1YhQbqxxmW4gWEUQjp0NwQcYtc,40
|
|
|
51
51
|
etlplus/database/orm.py,sha256=gCSqH-CjQz6tV9133-VqgiwokK5ylun0BwXaIWfImAo,10008
|
|
52
52
|
etlplus/database/schema.py,sha256=HNTgglI8qvQLInr7gq--2lLmLKHzAZTL2MJUOIw9DlY,7025
|
|
53
53
|
etlplus/database/types.py,sha256=_pkQyC14TzAlgyeIqZG4F5LWYknZbHw3TW68Auk7Ya0,795
|
|
54
|
-
etlplus/file/__init__.py,sha256=
|
|
54
|
+
etlplus/file/__init__.py,sha256=X03bosSM-uSd6dh3ur0un6_ozFRw2Tm4PE6kVUjtXK8,475
|
|
55
55
|
etlplus/file/core.py,sha256=NXTGSIKIo7HvLDlMtme37_d4NUhsf4RUNKp5mTj-wqU,8131
|
|
56
56
|
etlplus/file/csv.py,sha256=VbMW_NaqCw03HlfvYzb9MoAgCXI3cl9qc4dASkTHoyw,1880
|
|
57
|
-
etlplus/file/enums.py,sha256=
|
|
57
|
+
etlplus/file/enums.py,sha256=rwrbwj6PejG0c5v6jzcsmeNu9cSqDyWB1foIuM5UyJo,6648
|
|
58
58
|
etlplus/file/json.py,sha256=xSV5PkZ_tZQuZNdLr1FQUwuCQXyL7Ch3WRJ3hkw0p68,1911
|
|
59
59
|
etlplus/file/xml.py,sha256=vjate5u9Z26LPlpvZsdzpqXsIUZRgen7oHa3ly-aIhs,3905
|
|
60
60
|
etlplus/file/yaml.py,sha256=6KaWoG7oYB26EHX2TZ7LOgigO11Hoq3MH--adFq_Eck,3004
|
|
@@ -63,9 +63,9 @@ etlplus/templates/ddl.sql.j2,sha256=s8fMWvcb4eaJVXkifuib1aQPljtZ8buuyB_uA-ZdU3Q,
|
|
|
63
63
|
etlplus/templates/view.sql.j2,sha256=Iy8DHfhq5yyvrUKDxqp_aHIEXY4Tm6j4wT7YDEFWAhk,2180
|
|
64
64
|
etlplus/validation/__init__.py,sha256=Pe5Xg1_EA4uiNZGYu5WTF3j7odjmyxnAJ8rcioaplSQ,1254
|
|
65
65
|
etlplus/validation/utils.py,sha256=Mtqg449VIke0ziy_wd2r6yrwJzQkA1iulZC87FzXMjo,10201
|
|
66
|
-
etlplus-0.11.
|
|
67
|
-
etlplus-0.11.
|
|
68
|
-
etlplus-0.11.
|
|
69
|
-
etlplus-0.11.
|
|
70
|
-
etlplus-0.11.
|
|
71
|
-
etlplus-0.11.
|
|
66
|
+
etlplus-0.11.3.dist-info/licenses/LICENSE,sha256=MuNO63i6kWmgnV2pbP2SLqP54mk1BGmu7CmbtxMmT-U,1069
|
|
67
|
+
etlplus-0.11.3.dist-info/METADATA,sha256=Pyzi02lSbB6La48T-_qQvVXHb9kuJOIg31QPgX8V6Ig,21036
|
|
68
|
+
etlplus-0.11.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
69
|
+
etlplus-0.11.3.dist-info/entry_points.txt,sha256=6w-2-jzuPa55spzK34h-UKh2JTEShh38adFRONNP9QE,45
|
|
70
|
+
etlplus-0.11.3.dist-info/top_level.txt,sha256=aWWF-udn_sLGuHTM6W6MLh99ArS9ROkUWO8Mi8y1_2U,8
|
|
71
|
+
etlplus-0.11.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|