Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/docling-project/docling-parse
/ functions
Functions
1,406 in github.com/docling-project/docling-parse
⨍
Functions
1,406
◇
Types & classes
184
↓ 3 callers
Method
_image_from_bytes
( raw_bytes: bytes, image_shape: Sequence[int] )
docling_parse/pdf_parser.py:1243
↓ 3 callers
Function
_round_floats
Recursively round all floats in a JSON-serializable structure.
tests/test_parse.py:39
↓ 3 callers
Function
_to_cells_from_decoder
(cells_container)
docling_parse/pdf_parser.py:392
↓ 3 callers
Method
append_cubic_segment
src/parse/page_items/page_shape.h:259
↓ 3 callers
Function
append_png_chunk
Build a PNG chunk: 4-byte length + 4-byte type + data + 4-byte CRC.
src/parse/utils/ccitt/ccitt_utils.h:1043
↓ 3 callers
Function
append_u32be
Append a 32-bit big-endian value.
src/parse/utils/ccitt/ccitt_utils.h:976
↓ 3 callers
Function
configure_qpdf_warnings
src/parse/qpdf/logger.h:12
↓ 3 callers
Function
decode_1d_run
src/parse/utils/ccitt/ccitt_utils.h:442
↓ 3 callers
Function
device_n_names_are_process_cmyk_subset
src/parse/pdf_resources/page_xobject_image.h:80
↓ 3 callers
Function
find_jpeg_soi_offset
--------------------------------------------------------------------------- Locate the JPEG SOI marker (0xFF 0xD8). ----------------------------------
src/parse/utils/jpeg/jpeg_utils.h:107
↓ 3 callers
Method
get_angle
src/parse/page_items/page_dimension.h:22
↓ 3 callers
Method
get_bits_per_component
src/parse/pdf_resources/page_xobject_image.h:1058
↓ 3 callers
Method
get_canvas
src/render/blend2d_renderer.h:1901
↓ 3 callers
Method
get_char_code
src/parse/page_items/render_instructions.h:349
↓ 3 callers
Method
get_glyph_name
src/parse/pdf_resources/page_font.h:1390
↓ 3 callers
Method
get_icc_components
src/parse/pdf_resources/page_xobject_image.h:1068
↓ 3 callers
Method
get_page_decoder
src/parse/pdf_decoders/document.h:403
↓ 3 callers
Method
get_shape_type
src/parse/page_items/page_shape.h:37
↓ 3 callers
Method
get_static_timings
src/parse/utils/pdf_timings.h:384
↓ 3 callers
Method
has_page_decoder
src/parse/pdf_decoders/document.h:398
↓ 3 callers
Function
hex_to_numb
src/parse/utils/string.h:118
↓ 3 callers
Method
interpolate
src/parse/pdf_states/shape.h:786
↓ 3 callers
Method
interprete
src/parse/pdf_decoders/stream.h:179
↓ 3 callers
Method
iterate_pages
( self, *, content_config: ContentConfig | None = None, )
docling_parse/pdf_parser.py:833
↓ 3 callers
Function
page_pdf_output_path
app/render.cpp:9
↓ 3 callers
Method
parse
src/parse/pdf_resources/page_font/cmap.h:135
↓ 3 callers
Method
remove_duplicate_cells
src/parse/page_item_sanitators/cells.h:295
↓ 3 callers
Method
resolve
src/render/blend2d_embedded_font_cache.h:67
↓ 3 callers
Method
scheduled_number_of_pages
src/pybind/docling_threaded_base.h:321
↓ 3 callers
Method
scheduled_page_count
Return the number of pages scheduled for threaded emission.
docling_parse/pdf_parser.py:1498
↓ 3 callers
Function
segmented_page_from_decoder
Convert a C++ PdfPageDecoder to a SegmentedPdfPage.
docling_parse/pdf_parser.py:599
↓ 3 callers
Method
set_closing_type
src/parse/page_items/page_shape.h:39
↓ 3 callers
Function
to_encoding_name
src/parse/enums.h:82
↓ 3 callers
Method
transform
src/parse/page_items/page_shape.h:321
↓ 3 callers
Method
unload
Unload one document after threaded processing has completed.
docling_parse/pdf_parser.py:1504
↓ 3 callers
Method
unload_all_documents
src/pybind/docling_threaded_base.h:349
↓ 3 callers
Function
verify_SegmentedPdfPage
( true_page: SegmentedPdfPage, pred_page: SegmentedPdfPage, filename: str, cell_unit: TextCell
tests/test_parse.py:417
↓ 3 callers
Function
verify_cells
( true_cells: List[Union[PdfTextCell, TextCell]], pred_cells: List[Union[PdfTextCell, TextCell]],
tests/test_parse.py:178
↓ 3 callers
Method
warm
src/render/blend2d_font_resolver.h:197
↓ 2 callers
Method
TL
src/parse/pdf_states/text.h:979
↓ 2 callers
Method
Tc
src/parse/pdf_states/text.h:240
↓ 2 callers
Method
Tw
src/parse/pdf_states/text.h:1054
↓ 2 callers
Function
_bar
(count: int, largest: int, width: int = 36)
scripts/check_rendering_regression.py:216
↓ 2 callers
Function
_bitmap_metadata
( artifact: dict[str, Any], exported_filename: str )
tests/rendering_regression.py:78
↓ 2 callers
Function
_compare_images
( *, document: str, page: int | None, name: str, actual: Image.Image, expected: Image.
scripts/check_rendering_regression.py:222
↓ 2 callers
Function
_compare_pair
(pair: ImagePair, pixel_threshold: int)
scripts/check_rendering_regression.py:287
↓ 2 callers
Function
_compile_decode_config
Compile the public decode and content configs into the C++ decode config.
docling_parse/pdf_parser.py:270
↓ 2 callers
Function
_copy_render_config
(src: RenderConfig)
docling_parse/pdf_parser.py:1358
↓ 2 callers
Method
_crop_image
( self, image: PILImage.Image, cropbox: BoundingBox | None )
docling_parse/pdf_parser.py:1293
↓ 2 callers
Method
_ensure_page_decoder
Return a C++ page-decoder that satisfies content_config. The C++ page-decoder cache freezes config at first decode, so if the cached
docling_parse/pdf_parser.py:693
↓ 2 callers
Method
_export_bitmap_artifacts
(self)
docling_parse/pdf_parser.py:1354
↓ 2 callers
Function
_fmt_speedup
(s: float)
perf/run_scaling.py:784
↓ 2 callers
Function
_get_boundary_bbox
( page_dim, boundary_type: PdfPageBoundaryType, )
docling_parse/pdf_parser.py:359
↓ 2 callers
Function
_get_page1
( content_config: ContentConfig, )
tests/test_threaded_parse.py:410
↓ 2 callers
Function
_load_json
(path: Path)
tests/rendering_regression.py:69
↓ 2 callers
Function
_make_decode_config
()
tests/test_threaded_render.py:48
↓ 2 callers
Function
_merge_histograms
(histograms: Iterable[Sequence[int]])
scripts/check_rendering_regression.py:169
↓ 2 callers
Function
_page_timings_from_raw
Copy native threaded timing objects into the public Pydantic timing models.
docling_parse/pdf_parser.py:314
↓ 2 callers
Function
_percentile
(sorted_values: Sequence[float], percentile: float)
scripts/check_rendering_regression.py:177
↓ 2 callers
Function
_row
(name: str, threads, t: float)
perf/run_scaling.py:815
↓ 2 callers
Function
_set_attr
(obj, name: str, value)
tests/test_parse.py:88
↓ 2 callers
Function
_timing_csv_fieldnames
()
perf/run_scaling.py:348
↓ 2 callers
Function
_trunc
(v, n=128)
tests/test_parse.py:616
↓ 2 callers
Function
_trunc
(v, n=128)
tests/test_threaded_parse.py:148
↓ 2 callers
Function
_truncate_data_uri
(uri, max_chars: int = 64)
tests/test_parse.py:75
↓ 2 callers
Function
_write_diff_artifacts
( doc_name: str, page_no: int, actual: Image.Image, expected: Image.Image, )
tests/rendering_regression.py:143
↓ 2 callers
Function
_write_json
(path: Path, data: Any)
tests/rendering_regression.py:62
↓ 2 callers
Method
add_shape_instruction
src/parse/page_items/render_instructions.h:762
↓ 2 callers
Method
add_text_instruction
src/parse/page_items/render_instructions.h:744
↓ 2 callers
Function
add_timing_row
Add a row for the given timing key.
perf/run_analysis.py:260
↓ 2 callers
Function
append_u16le
Append a 16-bit little-endian value.
src/parse/utils/ccitt/ccitt_utils.h:985
↓ 2 callers
Method
attributed_total
src/parse/utils/pdf_timings.h:604
↓ 2 callers
Method
cache_key
(self)
docling_parse/pdf_parser.py:234
↓ 2 callers
Method
cm
src/parse/pdf_states/global.h:168
↓ 2 callers
Function
cmyk_process_component_index
src/parse/pdf_resources/page_xobject_image.h:71
↓ 2 callers
Function
compute_per_document_stats
(rows: List[Row])
perf/run_perf.py:413
↓ 2 callers
Method
count
src/parse/pdf_resources/page_grphs.h:66
↓ 2 callers
Function
create_config
app/parse.cpp:74
↓ 2 callers
Function
csv_escape
app/run_scaling.cpp:466
↓ 2 callers
Function
decode_and_render
app/render.cpp:44
↓ 2 callers
Method
decode_cmap_resource
src/parse/pdf_resources/page_font/font_cid.h:272
↓ 2 callers
Method
decode_document
src/parse/pdf_decoders/document.h:359
↓ 2 callers
Function
decode_jpeg_to_raw_pixels
--------------------------------------------------------------------------- decode_jpeg_to_raw_pixels ------------------------------------------------
src/parse/utils/jpeg/jpeg_utils.h:842
↓ 2 callers
Method
decode_widths
src/parse/pdf_resources/page_font/font_cid.h:310
↓ 2 callers
Function
encode_debug_png
src/parse/utils/ccitt/ccitt_utils.h:1120
↓ 2 callers
Function
ensure_test_data_downloaded
(force: bool = False)
tests/data_utils.py:19
↓ 2 callers
Method
f
src/parse/pdf_states/shape.h:352
↓ 2 callers
Function
find_pdfs
(path: Path, recursive: bool = False)
perf/run_scaling.py:56
↓ 2 callers
Method
finish
app/run_scaling.cpp:228
↓ 2 callers
Function
fix_into_valid_utf8
src/parse/utils/string.h:15
↓ 2 callers
Function
format_duration
app/run_scaling.cpp:181
↓ 2 callers
Function
from_json
src/pybind/utils/pybind11_json.h:30
↓ 2 callers
Method
get_base_x0
src/parse/page_items/render_instructions.h:225
↓ 2 callers
Method
get_base_y0
src/parse/page_items/render_instructions.h:226
↓ 2 callers
Method
get_capheight
src/parse/pdf_resources/page_font.h:399
↓ 2 callers
Method
get_decode_array
src/parse/pdf_resources/page_xobject_image.h:1123
↓ 2 callers
Method
get_decoded_stream_data
src/parse/pdf_resources/page_xobject_image.h:1168
↓ 2 callers
Method
get_dynamic_timings
src/parse/utils/pdf_timings.h:397
↓ 2 callers
Method
get_encoding
src/parse/pdf_resources/page_font.h:287
↓ 2 callers
Method
get_encoding_name
src/parse/pdf_resources/page_font.h:282
← previous
next →
201–300 of 1,406, ranked by callers