Skip to main content

vera-ingest-docling

Optional Docling ingest pipeline for VERA. Registers the docling provider (default variant hybrid) under the vera.ingest_pipelines entry-point group.

The pipeline uses Docling's DocumentConverter for layout-aware PDF parsing and HybridChunker for token-aware chunks. Readable chunk text is stored for keyword search; contextualized text from HybridChunker.contextualize() is used for embeddings.

Install

python -m pip install "vera-ingest-docling>=0.3.0"

From a repository checkout with uv (workspace .venv for CLI and tests):

uv sync --extra docling

Non-desktop users can install the CLI extra:

pip install "vera-cli[docling]>=0.3.0"

Python 3.10 or newer is required. The package depends on Docling's rapidocr extra so RapidOCR and onnxruntime are installed for OCR. RapidOCR ONNX weights come with that extra; first conversion may still download Docling layout models (about 380 MB: Heron ONNX + TableFormer accurate). Set DOCLING_ARTIFACTS_PATH to a local cache (or prefetch layout models offline) for air-gapped runs. Incomplete caches are not treated as ready. Hub progress is visible on CLI stderr. This extra is not bundled in the 0.3.0 desktop installer and is not listed in Convert.

Usage

vera convert "manual.pdf" "manual.vera" --parser docling
# or explicitly:
vera convert "manual.pdf" "manual.vera" --parser docling:hybrid
from vera_ingest import convert

convert("manual.pdf", "manual.vera", parser="docling")

Notes

  • Defaults: chunk_size=500 whitespace tokens (not LLM subword tokens), ocr_mode=auto, ocr_language=en, pdf_backend=docling_parse. Docling does not advertise overlap or ocr_dpi, so those legacy convert/CLI aliases are not forwarded. The Tesseract --ocr-language alias is also not forwarded; Docling keeps en.
  • Prefer pipeline_options= / --pipeline-option KEY=VALUE for provider-owned settings; --chunk-size and --ocr* remain compatibility aliases for pipelines that accept them.
  • OCR modes map to Docling/RapidOCR: off, auto (default), and force (full-page OCR). ocr_language expects a RapidOCR-native code (en, fr, cyrillic, ...) — Tesseract-style codes such as eng are not translated. The shared --ocr-language CLI default (eng) is not forwarded; pass --pipeline-option ocr_language=fr (or another RapidOCR code) when you need a non-default language.
  • Torch model compilation is disabled so Windows does not need MSVC cl.exe.
  • Picture crops are stored as figure attachments and linked onto a nearby same-page chunk so search --figures can return them. Docling's HybridChunker omits pictures from chunk text.
  • On page-level memory errors (bad_alloc), VERA retries failed pages then falls back to whole-document pypdfium2, then page-batch pypdfium2 if that still raises. Force the backend with --pipeline-option pdf_backend=pypdfium2. Conversion rejects only when recovery is exhausted. Failures include the underlying exception and print it on sidecar stderr.

See the vera-ingest-docling documentation and conversion guide.

Metadata

Release files for vera-ingest-docling 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vera-ingest-docling 0.3.0
File Size Uploaded
vera_ingest_docling-0.3.0.tar.gz 30.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vera-ingest-docling 0.3.0
File Interpreter ABI Platform
vera_ingest_docling-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 55.8 kB

Release files / vera_ingest_docling-0.3.0.tar.gz

Download URL vera_ingest_docling-0.3.0.tar.gz
Size 30.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1e354e5e02289eaa977d5b2c6a4bc30f977c512cc4b9f649a765c6c619c3294a
BLAKE2b-256 checksum
How to use checksums
a6431a4cfe29108379e0c586ccb0ee645b60351cbd491e3419149c1f4d8f12b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.

Transparency log

Release files / vera_ingest_docling-0.3.0-py3-none-any.whl

Download URL vera_ingest_docling-0.3.0-py3-none-any.whl
Size 24.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cecd8996fff6e9c40c65af547a1a92895eef8ed62a927f4155ff8eb9e1328ff2
BLAKE2b-256 checksum
How to use checksums
2caf5670ff934ff8795df4a249c35ab01a1dc5ba72a04ede1caf20ce0e1a9314
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.2

2 release files

0.3.1

2 release files

This release

0.3.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page