Registry / ai-ml / docling-slim

docling-slim

JSON →
library2.97.0pypypiunverified

Modular version of the Docling package providing SDK and CLI for parsing PDF, DOCX, HTML, and other document formats into a unified document representation. Version 2.97.0 supports Python 3.10-3.12. The library is actively maintained with frequent releases.

pip install docling-slim
INSTALL
IMPORT
SIG · DOCLING-SLIM
D
docling-slim
ai-mlpythonv2.97.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DocumentConverter
from docling.document_converter import DocumentConverter
from docling.document_converter import DocumentConverter

Convert a document (PDF, DOCX, HTML, etc.) to a DoclingDocument using the default pipeline.

from docling.document_converter import DocumentConverter converter = DocumentConverter() result = converter.convert("https://example.com/document.pdf") doc = result.document print(doc.text)
Debug
Known issues
breakingThe 'docling-slim' package is a modular subset of the full 'docling' package. Some features (e.g., OCR with EasyOCR, table extraction with TableFormer) require installing extras like 'docling-slim[paddleocr]' or 'docling-slim[all]'.
fix
Use 'pip install docling-slim[all]' for full functionality or specify needed extras.
affects: >=2.0.0
breakingThe DocumentConverter API changed in version 2.x. The old import 'from docling.converters import DocumentConverter' no longer works.
fix
Use 'from docling.document_converter import DocumentConverter'.
affects: >=2.0.0
gotchaThe document conversion is synchronous by default. For async usage, you must use 'DocumentConverter.create_async()' and then 'await converter.convert_async(...)'.
fix
Use converter = await DocumentConverter.create_async() and then result = await converter.convert_async(source).
affects: >=1.5.0
Upgrade
Version history
2.97.0latest on PyPI · released Jun 3, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
OpenAI (training)
1
Resources

No resource links recorded.

docling-slim — pip install docling-slim · libregistry