docling 1.14.0__tar.gz → 1.15.0__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.
Files changed (30) hide show
  1. {docling-1.14.0 → docling-1.15.0}/PKG-INFO +2 -2
  2. {docling-1.14.0 → docling-1.15.0}/docling/datamodel/document.py +3 -0
  3. {docling-1.14.0 → docling-1.15.0}/pyproject.toml +2 -2
  4. {docling-1.14.0 → docling-1.15.0}/LICENSE +0 -0
  5. {docling-1.14.0 → docling-1.15.0}/README.md +0 -0
  6. {docling-1.14.0 → docling-1.15.0}/docling/__init__.py +0 -0
  7. {docling-1.14.0 → docling-1.15.0}/docling/backend/__init__.py +0 -0
  8. {docling-1.14.0 → docling-1.15.0}/docling/backend/abstract_backend.py +0 -0
  9. {docling-1.14.0 → docling-1.15.0}/docling/backend/docling_parse_backend.py +0 -0
  10. {docling-1.14.0 → docling-1.15.0}/docling/backend/pypdfium2_backend.py +0 -0
  11. {docling-1.14.0 → docling-1.15.0}/docling/cli/__init__.py +0 -0
  12. {docling-1.14.0 → docling-1.15.0}/docling/cli/main.py +0 -0
  13. {docling-1.14.0 → docling-1.15.0}/docling/datamodel/__init__.py +0 -0
  14. {docling-1.14.0 → docling-1.15.0}/docling/datamodel/base_models.py +0 -0
  15. {docling-1.14.0 → docling-1.15.0}/docling/datamodel/settings.py +0 -0
  16. {docling-1.14.0 → docling-1.15.0}/docling/document_converter.py +0 -0
  17. {docling-1.14.0 → docling-1.15.0}/docling/models/__init__.py +0 -0
  18. {docling-1.14.0 → docling-1.15.0}/docling/models/base_ocr_model.py +0 -0
  19. {docling-1.14.0 → docling-1.15.0}/docling/models/ds_glm_model.py +0 -0
  20. {docling-1.14.0 → docling-1.15.0}/docling/models/easyocr_model.py +0 -0
  21. {docling-1.14.0 → docling-1.15.0}/docling/models/layout_model.py +0 -0
  22. {docling-1.14.0 → docling-1.15.0}/docling/models/page_assemble_model.py +0 -0
  23. {docling-1.14.0 → docling-1.15.0}/docling/models/table_structure_model.py +0 -0
  24. {docling-1.14.0 → docling-1.15.0}/docling/pipeline/__init__.py +0 -0
  25. {docling-1.14.0 → docling-1.15.0}/docling/pipeline/base_model_pipeline.py +0 -0
  26. {docling-1.14.0 → docling-1.15.0}/docling/pipeline/standard_model_pipeline.py +0 -0
  27. {docling-1.14.0 → docling-1.15.0}/docling/utils/__init__.py +0 -0
  28. {docling-1.14.0 → docling-1.15.0}/docling/utils/export.py +0 -0
  29. {docling-1.14.0 → docling-1.15.0}/docling/utils/layout_utils.py +0 -0
  30. {docling-1.14.0 → docling-1.15.0}/docling/utils/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: docling
3
- Version: 1.14.0
3
+ Version: 1.15.0
4
4
  Summary: Docling PDF conversion package
5
5
  Home-page: https://github.com/DS4SD/docling
6
6
  License: MIT
@@ -22,7 +22,7 @@ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
22
22
  Provides-Extra: examples
23
23
  Requires-Dist: certifi (>=2024.7.4)
24
24
  Requires-Dist: deepsearch-glm (>=0.21.1,<0.22.0)
25
- Requires-Dist: docling-core (>=1.5.0,<2.0.0)
25
+ Requires-Dist: docling-core (>=1.6.2,<2.0.0)
26
26
  Requires-Dist: docling-ibm-models (>=1.2.0,<2.0.0)
27
27
  Requires-Dist: docling-parse (>=1.2.0,<2.0.0)
28
28
  Requires-Dist: easyocr (>=1.7,<2.0)
@@ -324,8 +324,10 @@ class ConvertedDocument(BaseModel):
324
324
  "paragraph",
325
325
  "caption",
326
326
  "table",
327
+ "figure",
327
328
  ],
328
329
  strict_text: bool = False,
330
+ image_placeholder: str = "<!-- image -->",
329
331
  ):
330
332
  return self.output.export_to_markdown(
331
333
  delim=delim,
@@ -333,6 +335,7 @@ class ConvertedDocument(BaseModel):
333
335
  main_text_stop=main_text_stop,
334
336
  main_text_labels=main_text_labels,
335
337
  strict_text=strict_text,
338
+ image_placeholder=image_placeholder,
336
339
  )
337
340
 
338
341
  def render_as_text(
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "docling"
3
- version = "1.14.0" # DO NOT EDIT, updated automatically
3
+ version = "1.15.0" # DO NOT EDIT, updated automatically
4
4
  description = "Docling PDF conversion package"
5
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>"]
6
6
  license = "MIT"
@@ -23,7 +23,7 @@ packages = [{include = "docling"}]
23
23
  [tool.poetry.dependencies]
24
24
  python = "^3.10"
25
25
  pydantic = "^2.0.0"
26
- docling-core = "^1.5.0"
26
+ docling-core = "^1.6.2"
27
27
  docling-ibm-models = "^1.2.0"
28
28
  deepsearch-glm = "^0.21.1"
29
29
  filetype = "^1.2.0"
File without changes
File without changes
File without changes
File without changes