docling 2.3.1__tar.gz → 2.4.1__tar.gz
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.
- {docling-2.3.1 → docling-2.4.1}/PKG-INFO +18 -11
- {docling-2.3.1 → docling-2.4.1}/README.md +15 -8
- {docling-2.3.1 → docling-2.4.1}/docling/backend/docling_parse_backend.py +1 -1
- {docling-2.3.1 → docling-2.4.1}/docling/backend/docling_parse_v2_backend.py +1 -1
- {docling-2.3.1 → docling-2.4.1}/docling/backend/pypdfium2_backend.py +1 -1
- {docling-2.3.1 → docling-2.4.1}/docling/cli/main.py +38 -8
- {docling-2.3.1 → docling-2.4.1}/docling/datamodel/pipeline_options.py +3 -3
- {docling-2.3.1 → docling-2.4.1}/docling/models/tesseract_ocr_model.py +19 -7
- {docling-2.3.1 → docling-2.4.1}/pyproject.toml +4 -10
- {docling-2.3.1 → docling-2.4.1}/LICENSE +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/__init__.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/backend/__init__.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/backend/abstract_backend.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/backend/asciidoc_backend.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/backend/html_backend.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/backend/md_backend.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/backend/mspowerpoint_backend.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/backend/msword_backend.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/backend/pdf_backend.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/cli/__init__.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/datamodel/__init__.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/datamodel/base_models.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/datamodel/document.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/datamodel/settings.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/document_converter.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/models/__init__.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/models/base_model.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/models/base_ocr_model.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/models/ds_glm_model.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/models/easyocr_model.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/models/layout_model.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/models/page_assemble_model.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/models/page_preprocessing_model.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/models/table_structure_model.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/models/tesseract_ocr_cli_model.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/pipeline/__init__.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/pipeline/base_pipeline.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/pipeline/simple_pipeline.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/pipeline/standard_pdf_pipeline.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/utils/__init__.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/utils/export.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/utils/layout_utils.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/utils/profiling.py +0 -0
- {docling-2.3.1 → docling-2.4.1}/docling/utils/utils.py +0 -0
@@ -1,10 +1,10 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: docling
|
3
|
-
Version: 2.
|
4
|
-
Summary:
|
3
|
+
Version: 2.4.1
|
4
|
+
Summary: SDK and CLI for parsing PDF, DOCX, HTML, and more, to a unified document representation for powering downstream workflows such as gen AI applications.
|
5
5
|
Home-page: https://github.com/DS4SD/docling
|
6
6
|
License: MIT
|
7
|
-
Keywords: docling,convert,document,pdf,layout model,segmentation,table structure,table former
|
7
|
+
Keywords: docling,convert,document,pdf,docx,html,markdown,layout model,segmentation,table structure,table former
|
8
8
|
Author: Christoph Auer
|
9
9
|
Author-email: cau@zurich.ibm.com
|
10
10
|
Requires-Python: >=3.10,<4.0
|
@@ -53,6 +53,10 @@ Description-Content-Type: text/markdown
|
|
53
53
|
|
54
54
|
# Docling
|
55
55
|
|
56
|
+
<p align="center">
|
57
|
+
<a href="https://trendshift.io/repositories/12132" target="_blank"><img src="https://trendshift.io/api/badge/repositories/12132" alt="DS4SD%2Fdocling | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
|
58
|
+
</p>
|
59
|
+
|
56
60
|
[](https://arxiv.org/abs/2408.09869)
|
57
61
|
[](https://ds4sd.github.io/docling/)
|
58
62
|
[](https://pypi.org/project/docling/)
|
@@ -66,19 +70,22 @@ Description-Content-Type: text/markdown
|
|
66
70
|
|
67
71
|
Docling parses documents and exports them to the desired format with ease and speed.
|
68
72
|
|
69
|
-
|
70
73
|
## Features
|
71
74
|
|
72
75
|
* 🗂️ Reads popular document formats (PDF, DOCX, PPTX, Images, HTML, AsciiDoc, Markdown) and exports to Markdown and JSON
|
73
76
|
* 📑 Advanced PDF document understanding including page layout, reading order & table structures
|
74
77
|
* 🧩 Unified, expressive [DoclingDocument](https://ds4sd.github.io/docling/concepts/docling_document/) representation format
|
75
|
-
*
|
76
|
-
* 🤖 Seamless LlamaIndex 🦙 & LangChain 🦜🔗 integration for powerful RAG / QA applications
|
78
|
+
* 🤖 Easy integration with LlamaIndex 🦙 & LangChain 🦜🔗 for powerful RAG / QA applications
|
77
79
|
* 🔍 OCR support for scanned PDFs
|
78
80
|
* 💻 Simple and convenient CLI
|
79
81
|
|
80
82
|
Explore the [documentation](https://ds4sd.github.io/docling/) to discover plenty examples and unlock the full power of Docling!
|
81
83
|
|
84
|
+
### Coming soon
|
85
|
+
|
86
|
+
* ♾️ Equation & code extraction
|
87
|
+
* 📝 Metadata extraction, including title, authors, references & language
|
88
|
+
* 🦜🔗 Native LangChain extension
|
82
89
|
|
83
90
|
## Installation
|
84
91
|
|
@@ -104,16 +111,13 @@ result = converter.convert(source)
|
|
104
111
|
print(result.document.export_to_markdown()) # output: "## Docling Technical Report[...]"
|
105
112
|
```
|
106
113
|
|
107
|
-
|
108
114
|
Check out [Getting started](https://ds4sd.github.io/docling/).
|
109
115
|
You will find lots of tuning options to leverage all the advanced capabilities.
|
110
116
|
|
111
|
-
|
112
117
|
## Get help and support
|
113
118
|
|
114
119
|
Please feel free to connect with us using the [discussion section](https://github.com/DS4SD/docling/discussions).
|
115
120
|
|
116
|
-
|
117
121
|
## Technical report
|
118
122
|
|
119
123
|
For more details on Docling's inner workings, check out the [Docling Technical Report](https://arxiv.org/abs/2408.09869).
|
@@ -122,7 +126,6 @@ For more details on Docling's inner workings, check out the [Docling Technical R
|
|
122
126
|
|
123
127
|
Please read [Contributing to Docling](https://github.com/DS4SD/docling/blob/main/CONTRIBUTING.md) for details.
|
124
128
|
|
125
|
-
|
126
129
|
## References
|
127
130
|
|
128
131
|
If you use Docling in your projects, please consider citing the following:
|
@@ -142,6 +145,10 @@ If you use Docling in your projects, please consider citing the following:
|
|
142
145
|
|
143
146
|
## License
|
144
147
|
|
145
|
-
The Docling codebase is under MIT license.
|
148
|
+
The Docling codebase is under MIT license.
|
146
149
|
For individual model usage, please refer to the model licenses found in the original packages.
|
147
150
|
|
151
|
+
## IBM ❤️ Open Source AI
|
152
|
+
|
153
|
+
Docling has been brought to you by IBM.
|
154
|
+
|
@@ -6,6 +6,10 @@
|
|
6
6
|
|
7
7
|
# Docling
|
8
8
|
|
9
|
+
<p align="center">
|
10
|
+
<a href="https://trendshift.io/repositories/12132" target="_blank"><img src="https://trendshift.io/api/badge/repositories/12132" alt="DS4SD%2Fdocling | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
|
11
|
+
</p>
|
12
|
+
|
9
13
|
[](https://arxiv.org/abs/2408.09869)
|
10
14
|
[](https://ds4sd.github.io/docling/)
|
11
15
|
[](https://pypi.org/project/docling/)
|
@@ -19,19 +23,22 @@
|
|
19
23
|
|
20
24
|
Docling parses documents and exports them to the desired format with ease and speed.
|
21
25
|
|
22
|
-
|
23
26
|
## Features
|
24
27
|
|
25
28
|
* 🗂️ Reads popular document formats (PDF, DOCX, PPTX, Images, HTML, AsciiDoc, Markdown) and exports to Markdown and JSON
|
26
29
|
* 📑 Advanced PDF document understanding including page layout, reading order & table structures
|
27
30
|
* 🧩 Unified, expressive [DoclingDocument](https://ds4sd.github.io/docling/concepts/docling_document/) representation format
|
28
|
-
*
|
29
|
-
* 🤖 Seamless LlamaIndex 🦙 & LangChain 🦜🔗 integration for powerful RAG / QA applications
|
31
|
+
* 🤖 Easy integration with LlamaIndex 🦙 & LangChain 🦜🔗 for powerful RAG / QA applications
|
30
32
|
* 🔍 OCR support for scanned PDFs
|
31
33
|
* 💻 Simple and convenient CLI
|
32
34
|
|
33
35
|
Explore the [documentation](https://ds4sd.github.io/docling/) to discover plenty examples and unlock the full power of Docling!
|
34
36
|
|
37
|
+
### Coming soon
|
38
|
+
|
39
|
+
* ♾️ Equation & code extraction
|
40
|
+
* 📝 Metadata extraction, including title, authors, references & language
|
41
|
+
* 🦜🔗 Native LangChain extension
|
35
42
|
|
36
43
|
## Installation
|
37
44
|
|
@@ -57,16 +64,13 @@ result = converter.convert(source)
|
|
57
64
|
print(result.document.export_to_markdown()) # output: "## Docling Technical Report[...]"
|
58
65
|
```
|
59
66
|
|
60
|
-
|
61
67
|
Check out [Getting started](https://ds4sd.github.io/docling/).
|
62
68
|
You will find lots of tuning options to leverage all the advanced capabilities.
|
63
69
|
|
64
|
-
|
65
70
|
## Get help and support
|
66
71
|
|
67
72
|
Please feel free to connect with us using the [discussion section](https://github.com/DS4SD/docling/discussions).
|
68
73
|
|
69
|
-
|
70
74
|
## Technical report
|
71
75
|
|
72
76
|
For more details on Docling's inner workings, check out the [Docling Technical Report](https://arxiv.org/abs/2408.09869).
|
@@ -75,7 +79,6 @@ For more details on Docling's inner workings, check out the [Docling Technical R
|
|
75
79
|
|
76
80
|
Please read [Contributing to Docling](https://github.com/DS4SD/docling/blob/main/CONTRIBUTING.md) for details.
|
77
81
|
|
78
|
-
|
79
82
|
## References
|
80
83
|
|
81
84
|
If you use Docling in your projects, please consider citing the following:
|
@@ -95,5 +98,9 @@ If you use Docling in your projects, please consider citing the following:
|
|
95
98
|
|
96
99
|
## License
|
97
100
|
|
98
|
-
The Docling codebase is under MIT license.
|
101
|
+
The Docling codebase is under MIT license.
|
99
102
|
For individual model usage, please refer to the model licenses found in the original packages.
|
103
|
+
|
104
|
+
## IBM ❤️ Open Source AI
|
105
|
+
|
106
|
+
Docling has been brought to you by IBM.
|
@@ -29,7 +29,7 @@ class DoclingParsePageBackend(PdfPageBackend):
|
|
29
29
|
self._dpage = parsed_page["pages"][0]
|
30
30
|
else:
|
31
31
|
_log.info(
|
32
|
-
f"An error
|
32
|
+
f"An error occurred when loading page {page_no} of document {document_hash}."
|
33
33
|
)
|
34
34
|
|
35
35
|
def is_valid(self) -> bool:
|
@@ -31,7 +31,7 @@ class DoclingParseV2PageBackend(PdfPageBackend):
|
|
31
31
|
self._dpage = parsed_page["pages"][0]
|
32
32
|
else:
|
33
33
|
_log.info(
|
34
|
-
f"An error
|
34
|
+
f"An error occurred when loading page {page_no} of document {document_hash}."
|
35
35
|
)
|
36
36
|
|
37
37
|
def is_valid(self) -> bool:
|
@@ -29,7 +29,7 @@ class PyPdfiumPageBackend(PdfPageBackend):
|
|
29
29
|
self._ppage: pdfium.PdfPage = pdfium_doc[page_no]
|
30
30
|
except PdfiumError as e:
|
31
31
|
_log.info(
|
32
|
-
f"An exception
|
32
|
+
f"An exception occurred when loading page {page_no} of document {document_hash}.",
|
33
33
|
exc_info=True,
|
34
34
|
)
|
35
35
|
self.valid = False
|
@@ -5,12 +5,15 @@ import time
|
|
5
5
|
import warnings
|
6
6
|
from enum import Enum
|
7
7
|
from pathlib import Path
|
8
|
-
from typing import Annotated, Dict, Iterable, List, Optional
|
8
|
+
from typing import Annotated, Dict, Iterable, List, Optional, Type
|
9
9
|
|
10
10
|
import typer
|
11
11
|
from docling_core.utils.file import resolve_file_source
|
12
12
|
|
13
13
|
from docling.backend.docling_parse_backend import DoclingParseDocumentBackend
|
14
|
+
from docling.backend.docling_parse_v2_backend import DoclingParseV2DocumentBackend
|
15
|
+
from docling.backend.pdf_backend import PdfDocumentBackend
|
16
|
+
from docling.backend.pypdfium2_backend import PyPdfiumDocumentBackend
|
14
17
|
from docling.datamodel.base_models import (
|
15
18
|
ConversionStatus,
|
16
19
|
FormatToExtensions,
|
@@ -22,6 +25,7 @@ from docling.datamodel.pipeline_options import (
|
|
22
25
|
EasyOcrOptions,
|
23
26
|
OcrOptions,
|
24
27
|
PdfPipelineOptions,
|
28
|
+
TableFormerMode,
|
25
29
|
TesseractCliOcrOptions,
|
26
30
|
TesseractOcrOptions,
|
27
31
|
)
|
@@ -58,9 +62,10 @@ def version_callback(value: bool):
|
|
58
62
|
|
59
63
|
|
60
64
|
# Define an enum for the backend options
|
61
|
-
class
|
65
|
+
class PdfBackend(str, Enum):
|
62
66
|
PYPDFIUM2 = "pypdfium2"
|
63
|
-
|
67
|
+
DLPARSE_V1 = "dlparse_v1"
|
68
|
+
DLPARSE_V2 = "dlparse_v2"
|
64
69
|
|
65
70
|
|
66
71
|
# Define an enum for the ocr engines
|
@@ -90,28 +95,28 @@ def export_documents(
|
|
90
95
|
# Export Deep Search document JSON format:
|
91
96
|
if export_json:
|
92
97
|
fname = output_dir / f"{doc_filename}.json"
|
93
|
-
with fname.open("w") as fp:
|
98
|
+
with fname.open("w", encoding="utf8") as fp:
|
94
99
|
_log.info(f"writing JSON output to {fname}")
|
95
100
|
fp.write(json.dumps(conv_res.document.export_to_dict()))
|
96
101
|
|
97
102
|
# Export Text format:
|
98
103
|
if export_txt:
|
99
104
|
fname = output_dir / f"{doc_filename}.txt"
|
100
|
-
with fname.open("w") as fp:
|
105
|
+
with fname.open("w", encoding="utf8") as fp:
|
101
106
|
_log.info(f"writing Text output to {fname}")
|
102
107
|
fp.write(conv_res.document.export_to_markdown(strict_text=True))
|
103
108
|
|
104
109
|
# Export Markdown format:
|
105
110
|
if export_md:
|
106
111
|
fname = output_dir / f"{doc_filename}.md"
|
107
|
-
with fname.open("w") as fp:
|
112
|
+
with fname.open("w", encoding="utf8") as fp:
|
108
113
|
_log.info(f"writing Markdown output to {fname}")
|
109
114
|
fp.write(conv_res.document.export_to_markdown())
|
110
115
|
|
111
116
|
# Export Document Tags format:
|
112
117
|
if export_doctags:
|
113
118
|
fname = output_dir / f"{doc_filename}.doctags"
|
114
|
-
with fname.open("w") as fp:
|
119
|
+
with fname.open("w", encoding="utf8") as fp:
|
115
120
|
_log.info(f"writing Doc Tags output to {fname}")
|
116
121
|
fp.write(conv_res.document.export_to_document_tokens())
|
117
122
|
|
@@ -151,6 +156,17 @@ def convert(
|
|
151
156
|
ocr_engine: Annotated[
|
152
157
|
OcrEngine, typer.Option(..., help="The OCR engine to use.")
|
153
158
|
] = OcrEngine.EASYOCR,
|
159
|
+
pdf_backend: Annotated[
|
160
|
+
PdfBackend, typer.Option(..., help="The PDF backend to use.")
|
161
|
+
] = PdfBackend.DLPARSE_V1,
|
162
|
+
table_mode: Annotated[
|
163
|
+
TableFormerMode,
|
164
|
+
typer.Option(..., help="The mode to use in the table structure model."),
|
165
|
+
] = TableFormerMode.FAST,
|
166
|
+
artifacts_path: Annotated[
|
167
|
+
Optional[Path],
|
168
|
+
typer.Option(..., help="If provided, the location of the model artifacts."),
|
169
|
+
] = None,
|
154
170
|
abort_on_error: Annotated[
|
155
171
|
bool,
|
156
172
|
typer.Option(
|
@@ -217,11 +233,25 @@ def convert(
|
|
217
233
|
do_table_structure=True,
|
218
234
|
)
|
219
235
|
pipeline_options.table_structure_options.do_cell_matching = True # do_cell_matching
|
236
|
+
pipeline_options.table_structure_options.mode = table_mode
|
237
|
+
|
238
|
+
if artifacts_path is not None:
|
239
|
+
pipeline_options.artifacts_path = artifacts_path
|
240
|
+
|
241
|
+
match pdf_backend:
|
242
|
+
case PdfBackend.DLPARSE_V1:
|
243
|
+
backend: Type[PdfDocumentBackend] = DoclingParseDocumentBackend
|
244
|
+
case PdfBackend.DLPARSE_V2:
|
245
|
+
backend = DoclingParseV2DocumentBackend
|
246
|
+
case PdfBackend.PYPDFIUM2:
|
247
|
+
backend = PyPdfiumDocumentBackend
|
248
|
+
case _:
|
249
|
+
raise RuntimeError(f"Unexpected PDF backend type {pdf_backend}")
|
220
250
|
|
221
251
|
format_options: Dict[InputFormat, FormatOption] = {
|
222
252
|
InputFormat.PDF: PdfFormatOption(
|
223
253
|
pipeline_options=pipeline_options,
|
224
|
-
backend=
|
254
|
+
backend=backend, # pdf_backend
|
225
255
|
)
|
226
256
|
}
|
227
257
|
doc_converter = DocumentConverter(
|
@@ -1,4 +1,4 @@
|
|
1
|
-
from enum import Enum
|
1
|
+
from enum import Enum
|
2
2
|
from pathlib import Path
|
3
3
|
from typing import List, Literal, Optional, Union
|
4
4
|
|
@@ -6,8 +6,8 @@ from pydantic import BaseModel, ConfigDict, Field
|
|
6
6
|
|
7
7
|
|
8
8
|
class TableFormerMode(str, Enum):
|
9
|
-
FAST =
|
10
|
-
ACCURATE =
|
9
|
+
FAST = "fast"
|
10
|
+
ACCURATE = "accurate"
|
11
11
|
|
12
12
|
|
13
13
|
class TableStructureOptions(BaseModel):
|
@@ -22,25 +22,37 @@ class TesseractOcrModel(BaseOcrModel):
|
|
22
22
|
self.reader = None
|
23
23
|
|
24
24
|
if self.enabled:
|
25
|
-
|
25
|
+
install_errmsg = (
|
26
26
|
"tesserocr is not correctly installed. "
|
27
27
|
"Please install it via `pip install tesserocr` to use this OCR engine. "
|
28
|
-
"Note that tesserocr might have to be manually compiled for working with"
|
28
|
+
"Note that tesserocr might have to be manually compiled for working with "
|
29
29
|
"your Tesseract installation. The Docling documentation provides examples for it. "
|
30
|
-
"Alternatively, Docling has support for other OCR engines. See the documentation
|
30
|
+
"Alternatively, Docling has support for other OCR engines. See the documentation: "
|
31
|
+
"https://ds4sd.github.io/docling/installation/"
|
31
32
|
)
|
33
|
+
missing_langs_errmsg = (
|
34
|
+
"tesserocr is not correctly configured. No language models have been detected. "
|
35
|
+
"Please ensure that the TESSDATA_PREFIX envvar points to tesseract languages dir. "
|
36
|
+
"You can find more information how to setup other OCR engines in Docling "
|
37
|
+
"documentation: "
|
38
|
+
"https://ds4sd.github.io/docling/installation/"
|
39
|
+
)
|
40
|
+
|
32
41
|
try:
|
33
42
|
import tesserocr
|
34
43
|
except ImportError:
|
35
|
-
raise ImportError(
|
36
|
-
|
44
|
+
raise ImportError(install_errmsg)
|
37
45
|
try:
|
38
46
|
tesseract_version = tesserocr.tesseract_version()
|
39
|
-
_log.debug("Initializing TesserOCR: %s", tesseract_version)
|
40
47
|
except:
|
41
|
-
raise ImportError(
|
48
|
+
raise ImportError(install_errmsg)
|
49
|
+
|
50
|
+
_, tesserocr_languages = tesserocr.get_languages()
|
51
|
+
if not tesserocr_languages:
|
52
|
+
raise ImportError(missing_langs_errmsg)
|
42
53
|
|
43
54
|
# Initialize the tesseractAPI
|
55
|
+
_log.debug("Initializing TesserOCR: %s", tesseract_version)
|
44
56
|
lang = "+".join(self.options.lang)
|
45
57
|
if self.options.path is not None:
|
46
58
|
self.reader = tesserocr.PyTessBaseAPI(
|
@@ -1,13 +1,13 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "docling"
|
3
|
-
version = "2.
|
4
|
-
description = "
|
5
|
-
authors = ["Christoph Auer <cau@zurich.ibm.com>", "Michele Dolfi <dol@zurich.ibm.com>", "Maxim Lysak <mly@zurich.ibm.com>", "Nikos Livathinos <nli@zurich.ibm.com>", "Ahmed Nassar <ahn@zurich.ibm.com>", "Peter Staar <taa@zurich.ibm.com>"]
|
3
|
+
version = "2.4.1" # DO NOT EDIT, updated automatically
|
4
|
+
description = "SDK and CLI for parsing PDF, DOCX, HTML, and more, to a unified document representation for powering downstream workflows such as gen AI applications."
|
5
|
+
authors = ["Christoph Auer <cau@zurich.ibm.com>", "Michele Dolfi <dol@zurich.ibm.com>", "Maxim Lysak <mly@zurich.ibm.com>", "Nikos Livathinos <nli@zurich.ibm.com>", "Ahmed Nassar <ahn@zurich.ibm.com>", "Panos Vagenas <pva@zurich.ibm.com>", "Peter Staar <taa@zurich.ibm.com>"]
|
6
6
|
license = "MIT"
|
7
7
|
readme = "README.md"
|
8
8
|
repository = "https://github.com/DS4SD/docling"
|
9
9
|
homepage = "https://github.com/DS4SD/docling"
|
10
|
-
keywords= ["docling", "convert", "document", "pdf", "layout model", "segmentation", "table structure", "table former"]
|
10
|
+
keywords= ["docling", "convert", "document", "pdf", "docx", "html", "markdown", "layout model", "segmentation", "table structure", "table former"]
|
11
11
|
classifiers = [
|
12
12
|
"License :: OSI Approved :: MIT License",
|
13
13
|
"Operating System :: MacOS :: MacOS X",
|
@@ -73,12 +73,6 @@ mkdocs-jupyter = "^0.25.0"
|
|
73
73
|
[tool.poetry.group.examples.dependencies]
|
74
74
|
datasets = "^2.21.0"
|
75
75
|
python-dotenv = "^1.0.1"
|
76
|
-
# llama-index-readers-docling = { version = "^0.1.0", markers = 'python_version < "3.13"' }
|
77
|
-
# llama-index-node-parser-docling = { version = "^0.1.0", markers = 'python_version < "3.13"' }
|
78
|
-
# llama-index-readers-file = { version = "^0.2.2", markers = 'python_version < "3.13"' }
|
79
|
-
# llama-index-embeddings-huggingface = { version = "^0.3.1", markers = 'python_version < "3.13"' }
|
80
|
-
# llama-index-llms-huggingface-api = { version = "^0.2.0", markers = 'python_version < "3.13"' }
|
81
|
-
# llama-index-vector-stores-milvus ={ version = "^0.2.1", markers = 'python_version < "3.13"' }
|
82
76
|
langchain-huggingface = "^0.0.3"
|
83
77
|
langchain-milvus = "^0.1.4"
|
84
78
|
langchain-text-splitters = "^0.2.4"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|