Skip to main content

docling-ocr-mistral

Mistral OCR plugin for Docling.

Install

pip install docling-ocr-mistral

Use

from docling.datamodel.base_models import InputFormat
from docling.datamodel.pipeline_options import PdfPipelineOptions
from docling.document_converter import DocumentConverter, PdfFormatOption
from docling_ocr_mistral import MistralOcrOptions

pipeline_options = PdfPipelineOptions(
    allow_external_plugins=True,
    ocr_options=MistralOcrOptions(),
)

converter = DocumentConverter(
    format_options={
        InputFormat.PDF: PdfFormatOption(pipeline_options=pipeline_options),
    }
)
result = converter.convert("document.pdf")

Set MISTRAL_API_KEY or pass MistralOcrOptions(api_key="...").

CLI:

docling --allow-external-plugins --ocr-engine mistral_ocr document.pdf

Release files for docling-ocr-mistral 0.1.1

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

Source distribution (sdist)

Source distribution for docling-ocr-mistral 0.1.1
File Size Uploaded
docling_ocr_mistral-0.1.1.tar.gz 7.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for docling-ocr-mistral 0.1.1
File Interpreter ABI Platform
docling_ocr_mistral-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 15.0 kB

Release files / docling_ocr_mistral-0.1.1.tar.gz

Download URL docling_ocr_mistral-0.1.1.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e9591aac591376067af8af0835d1b5147132c47aef828d8d6f181dc99c13e766
BLAKE2b-256 checksum
How to use checksums
d135fa0d7873569929b26eba929951132675e21d661902e0fec8bc4ec32546b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Jun 30, 2026.

Transparency log

Release files / docling_ocr_mistral-0.1.1-py3-none-any.whl

Download URL docling_ocr_mistral-0.1.1-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e3d95eff52a07194265d26689aa29066bd3b72f6e74fb95c7b97458c5d87bda1
BLAKE2b-256 checksum
How to use checksums
56cecf14718aa10d1c7393a9b603c1f3a295dfa3e9c7e51c65c1485765999828
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Jun 30, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 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