docling-core 2.38.1__tar.gz → 2.38.2__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.
Potentially problematic release.
This version of docling-core might be problematic. Click here for more details.
- {docling_core-2.38.1 → docling_core-2.38.2}/PKG-INFO +1 -1
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/doc/document.py +3 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/doc/page.py +4 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core.egg-info/PKG-INFO +1 -1
- {docling_core-2.38.1 → docling_core-2.38.2}/pyproject.toml +1 -1
- {docling_core-2.38.1 → docling_core-2.38.2}/LICENSE +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/README.md +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/__init__.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/cli/__init__.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/cli/view.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/experimental/__init__.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/py.typed +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/resources/schemas/doc/ANN.json +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/resources/schemas/doc/DOC.json +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/resources/schemas/doc/OCR-output.json +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/resources/schemas/doc/RAW.json +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/resources/schemas/generated/ccs_document_schema.json +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/resources/schemas/generated/minimal_document_schema_flat.json +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/resources/schemas/search/search_doc_mapping.json +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/resources/schemas/search/search_doc_mapping_v2.json +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/search/__init__.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/search/json_schema_to_search_mapper.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/search/mapping.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/search/meta.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/search/package.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/__init__.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/chunker/__init__.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/chunker/base.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/chunker/hierarchical_chunker.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/chunker/hybrid_chunker.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/chunker/tokenizer/__init__.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/chunker/tokenizer/base.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/chunker/tokenizer/huggingface.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/chunker/tokenizer/openai.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/serializer/__init__.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/serializer/base.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/serializer/common.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/serializer/doctags.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/serializer/html.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/serializer/html_styles.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/serializer/markdown.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/visualizer/__init__.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/visualizer/base.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/visualizer/layout_visualizer.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/visualizer/reading_order_visualizer.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/visualizer/table_visualizer.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/__init__.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/base.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/doc/__init__.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/doc/base.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/doc/labels.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/doc/tokens.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/doc/utils.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/gen/__init__.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/gen/generic.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/io/__init__.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/legacy_doc/__init__.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/legacy_doc/base.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/legacy_doc/doc_ann.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/legacy_doc/doc_ocr.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/legacy_doc/doc_raw.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/legacy_doc/document.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/legacy_doc/tokens.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/nlp/__init__.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/nlp/qa.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/nlp/qa_labels.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/rec/__init__.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/rec/attribute.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/rec/base.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/rec/predicate.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/rec/record.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/rec/statement.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/types/rec/subject.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/utils/__init__.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/utils/alias.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/utils/file.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/utils/generate_docs.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/utils/generate_jsonschema.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/utils/legacy.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/utils/validate.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core/utils/validators.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core.egg-info/SOURCES.txt +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core.egg-info/dependency_links.txt +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core.egg-info/entry_points.txt +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core.egg-info/requires.txt +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/docling_core.egg-info/top_level.txt +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/setup.cfg +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/test/test_base.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/test/test_collection.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/test/test_data_gen_flag.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/test/test_doc_base.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/test/test_doc_legacy_convert.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/test/test_doc_schema.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/test/test_doc_schema_extractor.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/test/test_docling_doc.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/test/test_doctags_load.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/test/test_hierarchical_chunker.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/test/test_hybrid_chunker.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/test/test_json_schema_to_search_mapper.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/test/test_nlp_qa.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/test/test_otsl_table_export.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/test/test_page.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/test/test_rec_schema.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/test/test_search_meta.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/test/test_serialization.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/test/test_utils.py +0 -0
- {docling_core-2.38.1 → docling_core-2.38.2}/test/test_visualization.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: docling-core
|
|
3
|
-
Version: 2.38.
|
|
3
|
+
Version: 2.38.2
|
|
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>
|
|
@@ -649,6 +649,7 @@ class SegmentedPdfPage(SegmentedPage):
|
|
|
649
649
|
add_location: bool = True,
|
|
650
650
|
add_fontkey: bool = False,
|
|
651
651
|
add_fontname: bool = True,
|
|
652
|
+
add_text_direction: bool = True,
|
|
652
653
|
) -> List[str]:
|
|
653
654
|
"""Export text cells as formatted text lines.
|
|
654
655
|
|
|
@@ -676,6 +677,9 @@ class SegmentedPdfPage(SegmentedPage):
|
|
|
676
677
|
if add_fontname and isinstance(cell, PdfTextCell):
|
|
677
678
|
line += f"{cell.font_name:>10} "
|
|
678
679
|
|
|
680
|
+
if add_text_direction and isinstance(cell, PdfTextCell):
|
|
681
|
+
line += f"{cell.text_direction} "
|
|
682
|
+
|
|
679
683
|
line += f"{cell.text}"
|
|
680
684
|
lines.append(line)
|
|
681
685
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: docling-core
|
|
3
|
-
Version: 2.38.
|
|
3
|
+
Version: 2.38.2
|
|
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>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "docling-core"
|
|
3
|
-
version = "2.38.
|
|
3
|
+
version = "2.38.2" # DO NOT EDIT, updated automatically
|
|
4
4
|
description = "A python library to define and validate data types in Docling."
|
|
5
5
|
license = "MIT"
|
|
6
6
|
license-files = ["LICENSE"]
|
|
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
|
{docling_core-2.38.1 → docling_core-2.38.2}/docling_core/resources/schemas/doc/OCR-output.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{docling_core-2.38.1 → docling_core-2.38.2}/docling_core/search/json_schema_to_search_mapper.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/chunker/hierarchical_chunker.py
RENAMED
|
File without changes
|
{docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/chunker/hybrid_chunker.py
RENAMED
|
File without changes
|
{docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/chunker/tokenizer/__init__.py
RENAMED
|
File without changes
|
{docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/chunker/tokenizer/base.py
RENAMED
|
File without changes
|
{docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/chunker/tokenizer/huggingface.py
RENAMED
|
File without changes
|
{docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/chunker/tokenizer/openai.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/serializer/html_styles.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/visualizer/layout_visualizer.py
RENAMED
|
File without changes
|
|
File without changes
|
{docling_core-2.38.1 → docling_core-2.38.2}/docling_core/transforms/visualizer/table_visualizer.py
RENAMED
|
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
|
|
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
|