docling-core 2.48.2__py3-none-any.whl → 2.48.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.
Potentially problematic release.
This version of docling-core might be problematic. Click here for more details.
- docling_core/types/doc/document.py +1 -1
- {docling_core-2.48.2.dist-info → docling_core-2.48.4.dist-info}/METADATA +2 -2
- {docling_core-2.48.2.dist-info → docling_core-2.48.4.dist-info}/RECORD +7 -7
- {docling_core-2.48.2.dist-info → docling_core-2.48.4.dist-info}/WHEEL +0 -0
- {docling_core-2.48.2.dist-info → docling_core-2.48.4.dist-info}/entry_points.txt +0 -0
- {docling_core-2.48.2.dist-info → docling_core-2.48.4.dist-info}/licenses/LICENSE +0 -0
- {docling_core-2.48.2.dist-info → docling_core-2.48.4.dist-info}/top_level.txt +0 -0
|
@@ -4354,7 +4354,7 @@ class DoclingDocument(BaseModel):
|
|
|
4354
4354
|
if isinstance(filename, str):
|
|
4355
4355
|
filename = Path(filename)
|
|
4356
4356
|
with open(filename, encoding="utf-8") as f:
|
|
4357
|
-
data = yaml.load(f, Loader=yaml.
|
|
4357
|
+
data = yaml.load(f, Loader=yaml.SafeLoader)
|
|
4358
4358
|
return DoclingDocument.model_validate(data)
|
|
4359
4359
|
|
|
4360
4360
|
def export_to_dict(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: docling-core
|
|
3
|
-
Version: 2.48.
|
|
3
|
+
Version: 2.48.4
|
|
4
4
|
Summary: A python library to define and validate data types in Docling.
|
|
5
5
|
Author-email: Cesar Berrospi Ramis <ceb@zurich.ibm.com>, Panos Vagenas <pva@zurich.ibm.com>, Michele Dolfi <dol@zurich.ibm.com>, Christoph Auer <cau@zurich.ibm.com>, Peter Staar <taa@zurich.ibm.com>
|
|
6
6
|
Maintainer-email: Panos Vagenas <pva@zurich.ibm.com>, Michele Dolfi <dol@zurich.ibm.com>, Christoph Auer <cau@zurich.ibm.com>, Peter Staar <taa@zurich.ibm.com>, Cesar Berrospi Ramis <ceb@zurich.ibm.com>
|
|
@@ -32,7 +32,7 @@ Requires-Dist: pandas<3.0.0,>=2.1.4
|
|
|
32
32
|
Requires-Dist: pillow<12.0.0,>=10.0.0
|
|
33
33
|
Requires-Dist: pyyaml<7.0.0,>=5.1
|
|
34
34
|
Requires-Dist: typing-extensions<5.0.0,>=4.12.2
|
|
35
|
-
Requires-Dist: typer<0.
|
|
35
|
+
Requires-Dist: typer<0.20.0,>=0.12.5
|
|
36
36
|
Requires-Dist: latex2mathml<4.0.0,>=3.77.0
|
|
37
37
|
Provides-Extra: chunking
|
|
38
38
|
Requires-Dist: semchunk<3.0.0,>=2.2.0; extra == "chunking"
|
|
@@ -43,7 +43,7 @@ docling_core/types/__init__.py,sha256=MVRSgsk5focwGyAplh_TRR3dEecIXpd98g_u3zZ5HX
|
|
|
43
43
|
docling_core/types/base.py,sha256=PusJskRVL19y-hq0BgXr5e8--QEqSqLnFNJ8UbOqW88,8318
|
|
44
44
|
docling_core/types/doc/__init__.py,sha256=Vsl3oJV3_BLpS7rIwvahhcWOwmEBvj7ZbQzQCCl-IQk,1678
|
|
45
45
|
docling_core/types/doc/base.py,sha256=i98y4IF250adR-8BSS374K90fwfwG-vBfWh14tLC5Cs,15906
|
|
46
|
-
docling_core/types/doc/document.py,sha256=
|
|
46
|
+
docling_core/types/doc/document.py,sha256=WF-orjfoUQvijrV9krvG5e52O3lw4KjMwOHnSVgu0yU,203030
|
|
47
47
|
docling_core/types/doc/labels.py,sha256=-W1-LW6z0J9F9ExJqR0Wd1WeqWTaY3Unm-j1UkQGlC4,7330
|
|
48
48
|
docling_core/types/doc/page.py,sha256=35h1xdtCM3-AaN8Dim9jDseZIiw-3GxpB-ofF-H2rQQ,41878
|
|
49
49
|
docling_core/types/doc/tokens.py,sha256=z22l9J81_sg9CYMvOuLmPuLsNT7h_s7wao2UT89DvI8,9278
|
|
@@ -76,9 +76,9 @@ docling_core/utils/generate_jsonschema.py,sha256=uNX1O5XnjyB5nA66XqZXTt3YbGuR2ty
|
|
|
76
76
|
docling_core/utils/legacy.py,sha256=G7ed8fkBpIO8hG3DKEY83cHsrKJHyvDst_1jSdgBXMI,24406
|
|
77
77
|
docling_core/utils/validate.py,sha256=aQ11UbFyl8iD_N7yTTZmm_VVeXz8KcCyn3GLXgkfYRM,2049
|
|
78
78
|
docling_core/utils/validators.py,sha256=azcrndLzhNkTWnbFSu9shJ5D3j_znnLrIFA5R8hzmGU,2798
|
|
79
|
-
docling_core-2.48.
|
|
80
|
-
docling_core-2.48.
|
|
81
|
-
docling_core-2.48.
|
|
82
|
-
docling_core-2.48.
|
|
83
|
-
docling_core-2.48.
|
|
84
|
-
docling_core-2.48.
|
|
79
|
+
docling_core-2.48.4.dist-info/licenses/LICENSE,sha256=2M9-6EoQ1sxFztTOkXGAtwUDJvnWaAHdB9BYWVwGkIw,1087
|
|
80
|
+
docling_core-2.48.4.dist-info/METADATA,sha256=oKK8rik9CbY1FpnPdCmm54yIFsx7fK9kxqYvU9jy4NM,6453
|
|
81
|
+
docling_core-2.48.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
82
|
+
docling_core-2.48.4.dist-info/entry_points.txt,sha256=ER4zROQWkFMHIrY-oqY5E4HeCcCIg8dLkNztYGxdb7c,59
|
|
83
|
+
docling_core-2.48.4.dist-info/top_level.txt,sha256=O-tcXpGiurlud-1ZxMq1b-OmrfAVA4sajcgWU32RtfA,13
|
|
84
|
+
docling_core-2.48.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|