docling 1.1.0__tar.gz → 1.1.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.
Files changed (25) hide show
  1. {docling-1.1.0 → docling-1.1.1}/PKG-INFO +1 -1
  2. {docling-1.1.0 → docling-1.1.1}/docling/models/table_structure_model.py +5 -2
  3. {docling-1.1.0 → docling-1.1.1}/pyproject.toml +1 -1
  4. {docling-1.1.0 → docling-1.1.1}/LICENSE +0 -0
  5. {docling-1.1.0 → docling-1.1.1}/README.md +0 -0
  6. {docling-1.1.0 → docling-1.1.1}/docling/__init__.py +0 -0
  7. {docling-1.1.0 → docling-1.1.1}/docling/backend/__init__.py +0 -0
  8. {docling-1.1.0 → docling-1.1.1}/docling/backend/abstract_backend.py +0 -0
  9. {docling-1.1.0 → docling-1.1.1}/docling/backend/pypdfium2_backend.py +0 -0
  10. {docling-1.1.0 → docling-1.1.1}/docling/datamodel/__init__.py +0 -0
  11. {docling-1.1.0 → docling-1.1.1}/docling/datamodel/base_models.py +0 -0
  12. {docling-1.1.0 → docling-1.1.1}/docling/datamodel/document.py +0 -0
  13. {docling-1.1.0 → docling-1.1.1}/docling/datamodel/settings.py +0 -0
  14. {docling-1.1.0 → docling-1.1.1}/docling/document_converter.py +0 -0
  15. {docling-1.1.0 → docling-1.1.1}/docling/models/__init__.py +0 -0
  16. {docling-1.1.0 → docling-1.1.1}/docling/models/ds_glm_model.py +0 -0
  17. {docling-1.1.0 → docling-1.1.1}/docling/models/easyocr_model.py +0 -0
  18. {docling-1.1.0 → docling-1.1.1}/docling/models/layout_model.py +0 -0
  19. {docling-1.1.0 → docling-1.1.1}/docling/models/page_assemble_model.py +0 -0
  20. {docling-1.1.0 → docling-1.1.1}/docling/pipeline/__init__.py +0 -0
  21. {docling-1.1.0 → docling-1.1.1}/docling/pipeline/base_model_pipeline.py +0 -0
  22. {docling-1.1.0 → docling-1.1.1}/docling/pipeline/standard_model_pipeline.py +0 -0
  23. {docling-1.1.0 → docling-1.1.1}/docling/utils/__init__.py +0 -0
  24. {docling-1.1.0 → docling-1.1.1}/docling/utils/layout_utils.py +0 -0
  25. {docling-1.1.0 → docling-1.1.1}/docling/utils/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: docling
3
- Version: 1.1.0
3
+ Version: 1.1.1
4
4
  Summary: Docling PDF conversion package
5
5
  Home-page: https://github.com/DS4SD/docling
6
6
  License: MIT
@@ -114,12 +114,15 @@ class TableStructureModel:
114
114
  for element in table_out["tf_responses"]:
115
115
 
116
116
  if not self.do_cell_matching:
117
- the_bbox = BoundingBox.model_validate(element["bbox"])
117
+ the_bbox = BoundingBox.model_validate(
118
+ element["bbox"]
119
+ ).scaled(1 / self.scale)
118
120
  text_piece = page._backend.get_text_in_rect(the_bbox)
119
121
  element["bbox"]["token"] = text_piece
120
122
 
121
123
  tc = TableCell.model_validate(element)
122
- tc.bbox = tc.bbox.scaled(1 / self.scale)
124
+ if self.do_cell_matching:
125
+ tc.bbox = tc.bbox.scaled(1 / self.scale)
123
126
  table_cells.append(tc)
124
127
 
125
128
  # Retrieving cols/rows, after post processing:
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "docling"
3
- version = "1.1.0" # DO NOT EDIT, updated automatically
3
+ version = "1.1.1" # 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"
File without changes
File without changes
File without changes
File without changes