classifyre-cli 0.7.3__py3-none-any.whl → 0.7.4__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: classifyre-cli
3
- Version: 0.7.3
3
+ Version: 0.7.4
4
4
  Summary: Classifyre CLI — scan and classify unstructured data sources
5
5
  License: MIT
6
6
  Keywords: data,ingestion,metadata,pii,secrets,unstructured
@@ -191,7 +191,7 @@ src/sources/sqlite/source.py,sha256=e7A4vurxKEwb4oxpgEK8vNvCabxxFfDZZY4DvgcgnWM,
191
191
  src/sources/tableau/__init__.py,sha256=Di1Bh9s9SYrUYg4xZhhAhl5HfoTt0B6WQB5SxVrQhbY,63
192
192
  src/sources/tableau/source.py,sha256=zTOCwobJgE4E-3RBV-twKL_Nxrm60mBvwdI32dIDwgs,37139
193
193
  src/sources/trino/__init__.py,sha256=GFQDJ82MG8VACM8e2XzHIj-MyXBAwoKSXPdOJx8-NW4,59
194
- src/sources/trino/source.py,sha256=WrTIYOoc5yFCf7JJZBHvjpcBq_YwIzWndd9P3MRvs0k,12650
194
+ src/sources/trino/source.py,sha256=3s9oP4Hn7o3rJYfCvKQERmfhvcthA7CC7WT2eMZ-Z4s,12890
195
195
  src/sources/wordpress/__init__.py,sha256=T7v2TGUYiKzARpYk9bynxChY0P9GDDxpdbBz34x9g6o,67
196
196
  src/sources/wordpress/source.py,sha256=Bhyopqhq-AuQFTsQzaLUrG4P8oX-gcAA26jLyLs6d0A,29739
197
197
  src/sources/youtube/__init__.py,sha256=TqLfewxoisr752G4shsgslPFxc0LSf6q7-EAbQP8oGI,63
@@ -208,7 +208,7 @@ src/utils/file_parser.py,sha256=oiWZ8SEqz1HvnUl0qoQnfE8qW6CVIN9aSsftN2hErY8,1027
208
208
  src/utils/file_to_images.py,sha256=rU9uATckg8JDxHZLobjOJdwkrC2CZxegMS4hv76txTI,4782
209
209
  src/utils/hashing.py,sha256=T0GL1FWtG32QJID5RN3X-TzHHkolnNK6EfADvX6sdlE,2490
210
210
  src/utils/lakehouse_layout.py,sha256=EilfOlOfrTAF2fn0S6v2_EM_eoYEtqt5Ja-1E7QSM24,4706
211
- src/utils/lakehouse_storage.py,sha256=vAKjpvmMBvr1aFOCIgyfQF-Tls6HBfJSLdh6SIb5oiQ,7712
211
+ src/utils/lakehouse_storage.py,sha256=r8ltJypHVoZpr7Jry32oW_R-20nF2zW5qle5YPUrzRo,8115
212
212
  src/utils/lakehouse_tables.py,sha256=Hb4gkoV4jDFmGSeCTXv968wedtpZPM-Sta2pQwu01R8,19751
213
213
  src/utils/legacy_office.py,sha256=LCDiU7E-ZUxHgtQieihQWCXNXOtjiUpJEExWjme-dPI,9205
214
214
  src/utils/payload.py,sha256=ewvSABOLSiIGnrq5A9wfOeFZnVJ_TXtSmEOxDYcE58U,6159
@@ -226,7 +226,7 @@ src/utils/urn.py,sha256=gqSl0H0FBZZ3cJbpDWX1ewGcyZz2MrNVTIQdoFrQMM0,12622
226
226
  src/utils/uv_sync.py,sha256=VZ0TZ7t3_pSjxOb20BxUs2XLVjigXnVqa5y69XWlnE8,9307
227
227
  src/utils/validation.py,sha256=5NHsgyZwyEONRu9_ADxUAQNPvbMnpMhKL-hpgFEVMm8,3837
228
228
  src/utils/video_processing.py,sha256=B6Br9ybFEa_ioglJGo0P9Fmp1e2B95C24joAktwrjww,11293
229
- classifyre_cli-0.7.3.dist-info/METADATA,sha256=Hxaiv_5iV9RbxFD7tUm_0v66yOUEpBJJRq5IWiCyZso,5850
230
- classifyre_cli-0.7.3.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
231
- classifyre_cli-0.7.3.dist-info/entry_points.txt,sha256=edxllyMiIFfajgCZ3dTRACXYGC34ZX1AYTezMSR5E_8,45
232
- classifyre_cli-0.7.3.dist-info/RECORD,,
229
+ classifyre_cli-0.7.4.dist-info/METADATA,sha256=z7IMi9fyOUP4vwTdkKIiaiV7sZxLJNIJOx1l1enKlbc,5850
230
+ classifyre_cli-0.7.4.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
231
+ classifyre_cli-0.7.4.dist-info/entry_points.txt,sha256=edxllyMiIFfajgCZ3dTRACXYGC34ZX1AYTezMSR5E_8,45
232
+ classifyre_cli-0.7.4.dist-info/RECORD,,
@@ -32,13 +32,15 @@ _SKIPPED_CATALOGS = {"system"}
32
32
  _SKIPPED_SCHEMAS = {"information_schema", "system"}
33
33
 
34
34
  # Trino connector name -> the table format its tables are stored in.
35
+ # A catalog's connector names the format of every table in it. Anything else,
36
+ # Hive's plain tables included, is ``native`` (as the Hive source reports them).
37
+ # The ``lakehouse`` connector mixes formats per table, so it is ``native`` here
38
+ # until its tables' own ``type`` property is read.
35
39
  _CONNECTOR_FORMATS = {
36
40
  "iceberg": "iceberg",
37
41
  "delta_lake": "delta",
38
42
  "delta-lake": "delta",
39
43
  "hudi": "hudi",
40
- "hive": "hive",
41
- "lakehouse": "lakehouse",
42
44
  }
43
45
 
44
46
 
@@ -18,6 +18,7 @@ What each provider supports (see the lakehouse docs page for the tested matrix):
18
18
 
19
19
  from __future__ import annotations
20
20
 
21
+ import os
21
22
  from pathlib import Path
22
23
  from urllib.parse import urlsplit
23
24
 
@@ -118,6 +119,11 @@ def azure_table_storage(
118
119
  object_store: dict[str, str] = {"azure_storage_account_name": account}
119
120
  if emulated:
120
121
  object_store |= {"azure_storage_use_emulator": "true", "allow_http": "true"}
122
+ # In emulator mode the Rust object_store readers (Lance, Hudi, and the
123
+ # Delta kernel inside DuckDB, which turns emulator mode on by itself for
124
+ # the Azurite account) take the endpoint only from this variable, and
125
+ # otherwise go to 127.0.0.1:10000 whatever account_url says.
126
+ os.environ["AZURITE_BLOB_STORAGE_URL"] = f"{parsed.scheme}://{parsed.netloc}"
121
127
  elif not blob_endpoint.endswith(".blob.core.windows.net"):
122
128
  object_store["azure_storage_endpoint"] = blob_endpoint # OneLake, sovereign clouds
123
129