Skip to main content

llama-index-readers-docling-rs

DoclingRsReader turns PDF, DOCX, PPTX, XLSX, HTML, EPUB, e-mail, scans and 40-odd other formats into LlamaIndex Documents with docling.rs, a Rust port of IBM's docling: layout analysis, table structure and local OCR from a single native wheel, no PyTorch. It is the API of llama-index-readers-docling — export as Markdown (the default) or as docling's native JSON for a Docling node parser.

Installation

pip install llama-index-readers-docling-rs

PDFs and images use ONNX models (~720 MB), fetched once with python -c "import docling_rs; docling_rs.download_models()"; Office, HTML and e-mail need none.

Usage

Basic usage looks like this:

from llama_index.readers.docling_rs import DoclingRsReader

reader = DoclingRsReader()
docs = reader.load_data(file_path="https://arxiv.org/pdf/2408.09869")
print(f"{docs[0].text[:500]}...")

To export to docling's native JSON (parse it downstream with a Docling node parser):

reader = DoclingRsReader(export_type=DoclingRsReader.ExportType.JSON)

With SimpleDirectoryReader:

from llama_index.core import SimpleDirectoryReader

dir_reader = SimpleDirectoryReader(
    input_dir="/path/to/docs",
    file_extractor={".pdf": reader, ".docx": reader},
)
docs = dir_reader.load_data()

The converter is docling.rs's DocumentConverter; configure it as usual and pass it as doc_converter (DoclingRsReader(doc_converter=DocumentConverter(do_ocr=False))). DoclingReader is the same class under the upstream name.

The package has no code of its own: it pins the docling-rs wheel (with its llamaindex extra) and re-exports docling_rs.llamaindex, where the parameters are documented; pip install "docling-rs[llamaindex]" and from docling_rs.llamaindex import DoclingReader is the same thing under the engine's own name. Published from the docling.rs repository, not from LlamaIndex's monorepo (which no longer takes new integration packages).

License

MIT. docling.rs is an independent project of the docling community (LF AI & Data); not a LlamaIndex package.

Metadata

Release files for llama-index-readers-docling-rs 2.48.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 llama-index-readers-docling-rs 2.48.0
File Size Uploaded Provenance
llama_index_readers_docling_rs-2.48.0.tar.gz 3.6 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-readers-docling-rs 2.48.0
File Interpreter ABI Platform
llama_index_readers_docling_rs-2.48.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.5 kB

Release files / llama_index_readers_docling_rs-2.48.0.tar.gz

Download URL llama_index_readers_docling_rs-2.48.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
27efca1a0b4e5a3916d99489ee54f423c0a45faaeb3452ca3d9358aeadf66ba3
BLAKE2b-256 checksum
How to use checksums
7f5beebb906c71d4ac2152714931d91272997c41657e629cc1056c4307d99918
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 21, 2026.

Transparency log

Release files / llama_index_readers_docling_rs-2.48.0-py3-none-any.whl

Download URL llama_index_readers_docling_rs-2.48.0-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
88b15b48bb282970dd221a262aa92b14633cddc263735943963c7e7c0df49a76
BLAKE2b-256 checksum
How to use checksums
8147484622ef3222fa5320f9ae078611317f26bb23d775b043ebdaaf3bc1f644
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 21, 2026.

Transparency log

Security for llama-index-readers-docling-rs 2.48.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for llama_index_readers_docling_rs-2.48.0.tar.gz

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 Oct 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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