docling 1.6.1__tar.gz → 1.6.3__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 (27) hide show
  1. {docling-1.6.1 → docling-1.6.3}/PKG-INFO +2 -3
  2. {docling-1.6.1 → docling-1.6.3}/docling/backend/docling_parse_backend.py +1 -3
  3. {docling-1.6.1 → docling-1.6.3}/pyproject.toml +2 -5
  4. {docling-1.6.1 → docling-1.6.3}/LICENSE +0 -0
  5. {docling-1.6.1 → docling-1.6.3}/README.md +0 -0
  6. {docling-1.6.1 → docling-1.6.3}/docling/__init__.py +0 -0
  7. {docling-1.6.1 → docling-1.6.3}/docling/backend/__init__.py +0 -0
  8. {docling-1.6.1 → docling-1.6.3}/docling/backend/abstract_backend.py +0 -0
  9. {docling-1.6.1 → docling-1.6.3}/docling/backend/pypdfium2_backend.py +0 -0
  10. {docling-1.6.1 → docling-1.6.3}/docling/datamodel/__init__.py +0 -0
  11. {docling-1.6.1 → docling-1.6.3}/docling/datamodel/base_models.py +0 -0
  12. {docling-1.6.1 → docling-1.6.3}/docling/datamodel/document.py +0 -0
  13. {docling-1.6.1 → docling-1.6.3}/docling/datamodel/settings.py +0 -0
  14. {docling-1.6.1 → docling-1.6.3}/docling/document_converter.py +0 -0
  15. {docling-1.6.1 → docling-1.6.3}/docling/models/__init__.py +0 -0
  16. {docling-1.6.1 → docling-1.6.3}/docling/models/base_ocr_model.py +0 -0
  17. {docling-1.6.1 → docling-1.6.3}/docling/models/ds_glm_model.py +0 -0
  18. {docling-1.6.1 → docling-1.6.3}/docling/models/easyocr_model.py +0 -0
  19. {docling-1.6.1 → docling-1.6.3}/docling/models/layout_model.py +0 -0
  20. {docling-1.6.1 → docling-1.6.3}/docling/models/page_assemble_model.py +0 -0
  21. {docling-1.6.1 → docling-1.6.3}/docling/models/table_structure_model.py +0 -0
  22. {docling-1.6.1 → docling-1.6.3}/docling/pipeline/__init__.py +0 -0
  23. {docling-1.6.1 → docling-1.6.3}/docling/pipeline/base_model_pipeline.py +0 -0
  24. {docling-1.6.1 → docling-1.6.3}/docling/pipeline/standard_model_pipeline.py +0 -0
  25. {docling-1.6.1 → docling-1.6.3}/docling/utils/__init__.py +0 -0
  26. {docling-1.6.1 → docling-1.6.3}/docling/utils/layout_utils.py +0 -0
  27. {docling-1.6.1 → docling-1.6.3}/docling/utils/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: docling
3
- Version: 1.6.1
3
+ Version: 1.6.3
4
4
  Summary: Docling PDF conversion package
5
5
  Home-page: https://github.com/DS4SD/docling
6
6
  License: MIT
@@ -19,13 +19,12 @@ Classifier: Programming Language :: Python :: 3.10
19
19
  Classifier: Programming Language :: Python :: 3.11
20
20
  Classifier: Programming Language :: Python :: 3.12
21
21
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
22
- Provides-Extra: ocr
23
22
  Requires-Dist: certifi (>=2024.7.4)
24
23
  Requires-Dist: deepsearch-glm (>=0.19.0,<1)
25
24
  Requires-Dist: docling-core (>=1.1.2,<2.0.0)
26
25
  Requires-Dist: docling-ibm-models (>=1.1.2,<2.0.0)
27
26
  Requires-Dist: docling-parse (>=0.2.0,<0.3.0)
28
- Requires-Dist: easyocr (>=1.7,<2.0) ; extra == "ocr"
27
+ Requires-Dist: easyocr (>=1.7,<2.0)
29
28
  Requires-Dist: filetype (>=1.2.0,<2.0.0)
30
29
  Requires-Dist: huggingface_hub (>=0.23,<1)
31
30
  Requires-Dist: pydantic (>=2.0.0,<3.0.0)
@@ -186,9 +186,7 @@ class DoclingParseDocumentBackend(PdfDocumentBackend):
186
186
  self._parser_doc = parser.find_cells(str(path_or_stream))
187
187
 
188
188
  end_pb_time = time.time() - start_pb_time
189
- _log.info(
190
- f"Time to parse {path_or_stream.name} with docling-parse: time={end_pb_time:.3f}"
191
- )
189
+ _log.info(f"Time to parse with docling-parse: time={end_pb_time:.3f}")
192
190
 
193
191
  def page_count(self) -> int:
194
192
  return len(self._parser_doc["pages"])
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "docling"
3
- version = "1.6.1" # DO NOT EDIT, updated automatically
3
+ version = "1.6.3" # 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"
@@ -31,7 +31,7 @@ pypdfium2 = "^4.30.0"
31
31
  pydantic-settings = "^2.3.0"
32
32
  huggingface_hub = ">=0.23,<1"
33
33
  requests = "^2.32.3"
34
- easyocr = { version = "^1.7"}
34
+ easyocr = "^1.7"
35
35
  docling-parse = "^0.2.0"
36
36
  certifi = ">=2024.7.4"
37
37
  rtree = "^1.3.0"
@@ -51,9 +51,6 @@ types-requests = "^2.31.0.2"
51
51
  flake8-pyproject = "^1.2.3"
52
52
  pylint = "^2.17.5"
53
53
 
54
- [tool.poetry.extras]
55
- ocr = ["easyocr"]
56
-
57
54
  [build-system]
58
55
  requires = ["poetry-core"]
59
56
  build-backend = "poetry.core.masonry.api"
File without changes
File without changes
File without changes
File without changes