natural-pdf 25.3.16__py3-none-any.whl → 25.3.17.2__py3-none-any.whl
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.
- examples/direct_qa_example.py +17 -111
- examples/docling_comprehensive_test.py +325 -0
- examples/docling_example.py +192 -0
- examples/docling_hierarchy_example.py +230 -0
- examples/docling_text_sources.py +241 -0
- examples/improved_qa_example.py +66 -0
- examples/url_pdf_example.py +45 -0
- natural_pdf/analyzers/document_layout.py +276 -0
- natural_pdf/core/page.py +72 -21
- natural_pdf/core/pdf.py +102 -71
- natural_pdf/elements/region.py +174 -19
- natural_pdf/qa/document_qa.py +29 -38
- natural_pdf/selectors/parser.py +6 -2
- {natural_pdf-25.3.16.dist-info → natural_pdf-25.3.17.2.dist-info}/METADATA +25 -3
- {natural_pdf-25.3.16.dist-info → natural_pdf-25.3.17.2.dist-info}/RECORD +18 -12
- {natural_pdf-25.3.16.dist-info → natural_pdf-25.3.17.2.dist-info}/LICENSE +0 -0
- {natural_pdf-25.3.16.dist-info → natural_pdf-25.3.17.2.dist-info}/WHEEL +0 -0
- {natural_pdf-25.3.16.dist-info → natural_pdf-25.3.17.2.dist-info}/top_level.txt +0 -0
@@ -10,7 +10,11 @@ examples/color_test.py,sha256=owJ64qH5j5WgVhb7Nl2F-v89ilr1mQNwFm1xphvNnX4,2320
|
|
10
10
|
examples/debug_ocr.py,sha256=oHTHWyamz2B9Est1uuYaC1W4Acubh7YNQcb_4eTMZPw,2521
|
11
11
|
examples/direct_ocr_test.py,sha256=eO151awEYv24qKToj1704G4gq0SLgnx9bDXJgMHln64,5661
|
12
12
|
examples/direct_paddle_test.py,sha256=awoHkR0WLpDEzcOD_HtxhXoBe9FmVBjzzBwtN4HcbVE,3335
|
13
|
-
examples/direct_qa_example.py,sha256=
|
13
|
+
examples/direct_qa_example.py,sha256=bT79h491kVg3SAtK5jBSX6n1GPSW9egPbHfF9HpRr4g,2311
|
14
|
+
examples/docling_comprehensive_test.py,sha256=0SxnIuvjVCzBRdbWIVMBT8P9lfBFam9SzvNWc2MmoIE,11129
|
15
|
+
examples/docling_example.py,sha256=BUZFaA2aUpY7v-bF5AQCKL_iq8DZipeAgyXtwx_khc4,6582
|
16
|
+
examples/docling_hierarchy_example.py,sha256=Il5L-LNr8yale5fhB-x4HmDja1I7843wBygxmVtdHFQ,8032
|
17
|
+
examples/docling_text_sources.py,sha256=mjgkvNZ66Js0hdeaQFOOcAMzusSlWQ0835ICKiRVeZ0,8212
|
14
18
|
examples/document_layout_analysis.py,sha256=zpr2LroZrrTqoGeb0BWhexc3gwfBIPB6FeEL-VhKyqU,4928
|
15
19
|
examples/document_qa_example.py,sha256=IKe7FKnKbdaDPwQ-1uwm3KJenxennzqigQJGiQBIL1g,7240
|
16
20
|
examples/exclusion_count_debug.py,sha256=UKrWiFkV42iuXShMR1AlzZyCVJpl9IoalIRcfazbVm4,4990
|
@@ -30,6 +34,7 @@ examples/highlight_test.py,sha256=nlirCchUB6P3jV9shn55kVSABZd5YcVozx1R47c39Gk,58
|
|
30
34
|
examples/highlighting_example.py,sha256=8WoXL92nef61e4IDAEqL2EMC_nH06dM09OTXG7EJZO0,4893
|
31
35
|
examples/image_width_example.py,sha256=jq5Xekx9oWHzNFfVOGt_H9nIcdlM1xZGbNjRWzdq9Kc,3414
|
32
36
|
examples/improved_api_example.py,sha256=R_y_mzZYLJR1WnsAblgIBVGNBPKesLBMvnNEwhlhGpQ,4807
|
37
|
+
examples/improved_qa_example.py,sha256=kpai2QjnmgZ6AeP4DXnm_LrYf0TLXlA4u-dLIteA5rc,2406
|
33
38
|
examples/layout_confidence_display_test.py,sha256=9Ywg5YYUb8yLICtkKWmnRuyHkFsnwC3e4kBfqvq2MSE,2605
|
34
39
|
examples/layout_confidence_test.py,sha256=hDr0Fwrv6p1UZ1vfMRXT3oR_SOgwj5GkLw3pd3D_Qaw,3438
|
35
40
|
examples/layout_coordinate_debug.py,sha256=H8qG7kAsdw1ZkmOTdcH9tU3WGgMdMGpFj8DDnNAXTO8,11405
|
@@ -70,29 +75,30 @@ examples/text_style_example.py,sha256=pgLb9rbBrERj18icRsrSIgs0ndKuKcBWycwVPAAynr
|
|
70
75
|
examples/tiny-text.py,sha256=X_SDThngugL8q-XvcKlRe8iNUqouxT3rYCDFqK2MRyo,1693
|
71
76
|
examples/until_boundaries_example.py,sha256=rN8YrwDM7rBb1PuxYkpszYVWT-tNMSD-aKF-2zLBoHo,6461
|
72
77
|
examples/until_example.py,sha256=4b3GyQxaayGfODiXaCgxcq_92gUgpqaJ0_lMWQnYD_0,4559
|
78
|
+
examples/url_pdf_example.py,sha256=WjZMlKyIlcXhJNdSe9uMmWdTHixnRfeacnp64gQkNAo,1545
|
73
79
|
examples/very_basics.py,sha256=cNLnr1z701ri0LgE1cVM4gfMMND0C9UnvvWybnwum6g,418
|
74
80
|
natural_pdf/__init__.py,sha256=kKHL7SWzk0_ydDDX12X5W3s9-vEKgVYOBubXzp_SCdM,1784
|
75
81
|
natural_pdf/analyzers/__init__.py,sha256=XhxlbwiqbGpeIlS88c4P2t7-MLP98U3CcIr-3nGp488,188
|
76
|
-
natural_pdf/analyzers/document_layout.py,sha256=
|
82
|
+
natural_pdf/analyzers/document_layout.py,sha256=vAvHCXAykdJnar6GqwC2YH1N1APzEtKORUT6coib51w,43431
|
77
83
|
natural_pdf/analyzers/text_structure.py,sha256=ZmUsBMNBENjEYcABHqwziDXIHyCVYdUaEyAW0Ohagzc,5208
|
78
84
|
natural_pdf/core/__init__.py,sha256=GUuFtj2Apc9biAdUOlnL8leL3BQncEzubvpiAUaU3ss,37
|
79
|
-
natural_pdf/core/page.py,sha256=
|
80
|
-
natural_pdf/core/pdf.py,sha256=
|
85
|
+
natural_pdf/core/page.py,sha256=zkBApbTMjaND_bu65veZSwd53uVDOtstXEnU-hCmqlQ,108813
|
86
|
+
natural_pdf/core/pdf.py,sha256=lqTY6tCS-ZN9A4_LJ0w39Sr1tvgjpGRu0W3RK_0BEXQ,24878
|
81
87
|
natural_pdf/elements/__init__.py,sha256=6FGHZm2oONd8zErahMEawuB4AvJR5jOZPt4KtEwbj80,40
|
82
88
|
natural_pdf/elements/base.py,sha256=QJmhk6sYDKErLGrQ5VYhloytuntufxiP6wTzGfZ__9w,22754
|
83
89
|
natural_pdf/elements/collections.py,sha256=vFFeMS0XiBL3p9PyNmwXndKMlPhlwp8os3xKLveN_8k,31558
|
84
90
|
natural_pdf/elements/line.py,sha256=GrlpcfwcjugUGlneSDLaGa4ojz98A0l16wknlzrBCe0,4056
|
85
91
|
natural_pdf/elements/rect.py,sha256=dls9g-R213O78HvfAJMak3_eV14Zh654Zw7hqTTXxDQ,3949
|
86
|
-
natural_pdf/elements/region.py,sha256=
|
92
|
+
natural_pdf/elements/region.py,sha256=MNzZtawVlhrRBO1EQY6OOw1RLGZBLsDp-7Ujq0HD2Xk,64701
|
87
93
|
natural_pdf/elements/text.py,sha256=OAuy0ozaemj6yjMwhXPsJ76VZtRPeJbmrFTzpDJA2_U,11017
|
88
94
|
natural_pdf/ocr/__init__.py,sha256=m2_hQRNEQihg9yIx6tMkurKfAnsBU7jbREvZyR_c2fs,2206
|
89
95
|
natural_pdf/ocr/easyocr_engine.py,sha256=wwAgOf6IrCETyTGppjaVN6d46VlYRgK9ehbpwCE0LVA,9392
|
90
96
|
natural_pdf/ocr/engine.py,sha256=NuvZszyHRQoEGwJC7cNdR8UMumgaLADwWiwK0ey9sls,5679
|
91
97
|
natural_pdf/ocr/paddleocr_engine.py,sha256=iPKxfZhOLO146rOekOhRRB8y2BqqVTqrm8pkDgkaJgI,9157
|
92
98
|
natural_pdf/qa/__init__.py,sha256=kagdfqNMpTnyzjC2EFy_PBX5us38NnJL548ESSQVzfI,107
|
93
|
-
natural_pdf/qa/document_qa.py,sha256=
|
99
|
+
natural_pdf/qa/document_qa.py,sha256=x_AYE0kbs7_4n5NC7zWcxQpHFh0vxP3g3q-l_w4RgSU,15845
|
94
100
|
natural_pdf/selectors/__init__.py,sha256=Jfk-JBZEpQ7V5FWVGuLJQLH-qOfqNLC2AdicncMhrmY,121
|
95
|
-
natural_pdf/selectors/parser.py,sha256=
|
101
|
+
natural_pdf/selectors/parser.py,sha256=SFbiL0UdbX4VlA1bF26ahOq33fjXmBOUQEAGbqji65g,14536
|
96
102
|
natural_pdf/templates/__init__.py,sha256=i7N8epDxZoDDsK4p2iUiMwzKVs97i_KtNk8ATArqlC4,19
|
97
103
|
natural_pdf/templates/ocr_debug.html,sha256=Zy9StzBeHFQU8ity6cjFSZLe3TY0QOabUux4c5WQUzs,19171
|
98
104
|
natural_pdf/utils/__init__.py,sha256=iAq5tqNSGcX5-t5CZkyyt6EFpAwH84spIXTCuJ46YMc,87
|
@@ -102,8 +108,8 @@ natural_pdf/utils/reading_order.py,sha256=1oihH9ZTqQvIVDYc2oVEYqIXyPzi94ERtelp6T
|
|
102
108
|
natural_pdf/utils/visualization.py,sha256=Dujxp5xKbEap6UpoVEpArpkHChJLa_Je7FGz2S3Iwvw,5403
|
103
109
|
tests/__init__.py,sha256=34RJiJqy8uDxasGCbzXIaJlHQklHprscPcA4xp2s97g,30
|
104
110
|
tests/test_pdf.py,sha256=Ud-DI-GHAvnSJGMJewM_EwHtI_UgWTi7Gn9uIwQcpfE,1001
|
105
|
-
natural_pdf-25.3.
|
106
|
-
natural_pdf-25.3.
|
107
|
-
natural_pdf-25.3.
|
108
|
-
natural_pdf-25.3.
|
109
|
-
natural_pdf-25.3.
|
111
|
+
natural_pdf-25.3.17.2.dist-info/LICENSE,sha256=9zfwINwJlarbDmdh6iJV4QUG54QSJlSAUcnC1YiC_Ns,1074
|
112
|
+
natural_pdf-25.3.17.2.dist-info/METADATA,sha256=YqtGq0o7CHwugehRetW1fvvZTH-6JC8mia7cRXamApk,9082
|
113
|
+
natural_pdf-25.3.17.2.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
114
|
+
natural_pdf-25.3.17.2.dist-info/top_level.txt,sha256=2AueS3xkctrmlcDA_te2-_WG0A0wGhS0UQNwnr_cbFQ,27
|
115
|
+
natural_pdf-25.3.17.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|