extract-python 0.5.9__py3-none-any.whl → 0.5.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.
extract_python/__init__.py
CHANGED
|
@@ -1,17 +1,24 @@
|
|
|
1
|
+
import logging
|
|
2
|
+
|
|
3
|
+
logger = logging.getLogger(__name__)
|
|
4
|
+
|
|
1
5
|
try:
|
|
2
6
|
from .docling_ import DOCLING_DEFAULT_ARTIFACTS_PATH, DoclingPipeline
|
|
3
|
-
except
|
|
7
|
+
except ModuleNotFoundError:
|
|
8
|
+
logger.exception("docling is not available, might be optional...")
|
|
4
9
|
DOCKING_DEFAULT_ARTIFACTS_PATH, DoclingPipeline = None, None
|
|
5
10
|
|
|
6
11
|
try:
|
|
7
12
|
from .marker_ import MarkerPipeline
|
|
8
|
-
except
|
|
13
|
+
except ModuleNotFoundError:
|
|
14
|
+
logger.exception("marker is not available, might be optional...")
|
|
9
15
|
MarkerPipeline = None
|
|
10
16
|
|
|
11
17
|
|
|
12
18
|
try:
|
|
13
19
|
from .miner_u import MinerUPipeline
|
|
14
|
-
except
|
|
20
|
+
except ModuleNotFoundError:
|
|
21
|
+
logger.exception("mineru is not available, might be optional...")
|
|
15
22
|
MinerUPipeline = None
|
|
16
23
|
|
|
17
24
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
extract_python/__init__.py,sha256=
|
|
1
|
+
extract_python/__init__.py,sha256=DA2LUro6vMjfS8fb2MsqO95FbJEZHyZ7kFyn42q02Wk,759
|
|
2
2
|
extract_python/constants.py,sha256=Hxl2Bc-GJX71gjFgj3U7tRRA_nHhneoT6YPOx9CjYsc,94
|
|
3
3
|
extract_python/docling_.py,sha256=5q3JGJa8Jg8T8WL8MvufFkyILbD3G5mqtkV7HQed9zI,7632
|
|
4
4
|
extract_python/marker_.py,sha256=CIqRvHbdm6Itb7RiOVZWBDx5IvXzBGHjmHsWQFXIMyw,5331
|
|
5
5
|
extract_python/miner_u.py,sha256=2s2Pxj0wuW-kx1G9gRtHg_gkoPc-WQ31w8zmf_hr7rk,6187
|
|
6
6
|
extract_python/utils.py,sha256=HL-84NkjfJEiWp8GPRaJIiBL2Cywp4ABN41EkxYYnPI,2004
|
|
7
|
-
extract_python-0.5.
|
|
8
|
-
extract_python-0.5.
|
|
9
|
-
extract_python-0.5.
|
|
7
|
+
extract_python-0.5.10.dist-info/METADATA,sha256=tGVircXCrbg4CWvhfAiVlUYyRbflRV4nKSNDv8Mr0pk,1219
|
|
8
|
+
extract_python-0.5.10.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
|
|
9
|
+
extract_python-0.5.10.dist-info/RECORD,,
|
|
File without changes
|