Modular version of the Docling package: SDK and CLI for parsing PDF, DOCX, HTML, and more, to a unified document representation for powering downstream workflows such as gen AI applications.
Project Links
Meta
Author: Christoph Auer, Michele Dolfi, Maxim Lysak, Nikos Livathinos, Ahmed Nassar, Panos Vagenas, Peter Staar
Requires Python: <4.0,>=3.10
Classifiers
Development Status
- 5 - Production/Stable
Intended Audience
- Developers
- Science/Research
Operating System
- MacOS :: MacOS X
- Microsoft :: Windows
- POSIX :: Linux
Programming Language
- Python :: 3
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: 3.14
Topic
- Scientific/Engineering :: Artificial Intelligence
Docling Slim
Lightweight SDK for parsing documents with minimal dependencies and opt-in extras
Docling Slim is a minimal-dependency version of Docling that allows you to install only the components you need. It provides the core document processing functionality with ~50MB of base dependencies, and you can add specific features through optional extras.
When to Use Docling Slim
- Use
docling(recommended): If you want the full-featured experience with all standard capabilities - Use
docling-slim: If you need fine-grained control over dependencies or want to minimize installation size
For Most Users: Use the Main Docling Package
We recommend most users install the full-featured docling package instead:
pip install docling
The docling package includes all standard features, the CLI tools, and is the easiest way to get started. Visit the main Docling documentation for complete guides and examples.
Installation
With Specific Features
# PDF support with local models
pip install docling-slim[format-pdf,models-local]
# Office formats only
pip install docling-slim[format-office]
# PDF + CLI
pip install docling-slim[format-pdf,cli]
# Docling service client for using the Docling Serve API
pip install docling-slim[service-client]
Available Extras
Convenience Bundles
| Extra | Description | Use Case |
|---|---|---|
standard |
All standard features (same as docling package) |
Full-featured usage |
all |
All available extras | Complete installation |
CLI
| Extra | Description | Use Case |
|---|---|---|
cli |
Command-line interface (typer, rich) | CLI tools (docling, docling-tools) |
Core Components
| Extra | Description | Use Case |
|---|---|---|
convert-core |
Core conversion components (numpy, pillow, scipy) | Basic document conversion |
extract-core |
Structured information extraction | Data extraction from documents |
Format Support
PDF Formats
| Extra | Description | Use Case |
|---|---|---|
format-pdf |
PDF parsing (pypdfium2 + docling-parse) | PDF documents |
format-pdf-pypdfium2 |
PDF rendering only | Lightweight PDF support |
format-pdf-docling |
Advanced PDF parsing with docling-parse (independent of pypdfium2) | Complex PDF layouts |
Office Formats (office = docx + pptx + xlsx)
| Extra | Description | Use Case |
|---|---|---|
format-office |
All Office formats | Microsoft Office documents |
format-docx |
Microsoft Word documents | .docx files |
format-pptx |
Microsoft PowerPoint | .pptx files |
format-xlsx |
Microsoft Excel | .xlsx files |
Web Formats (web = html + markdown)
| Extra | Description | Use Case |
|---|---|---|
format-web |
HTML and Markdown | Web content |
format-html |
HTML parsing | Web pages and HTML files |
format-markdown |
Markdown parsing | .md files |
Other Formats
| Extra | Description | Use Case |
|---|---|---|
format-latex |
LaTeX documents | .tex files |
format-xml-xbrl |
XBRL financial reports | Financial documents |
format-html-render |
HTML rendering with Playwright | Dynamic web content |
format-audio |
Audio transcription (Whisper) | .wav, .mp3 files |
feat-asr-transformers |
Audio transcription with Transformers models | Granite Speech, Parakeet, Nemotron |
feat-asr-mlx-audio |
Audio transcription with mlx-audio, without torch | Apple Silicon only; needs macOS 14 or later |
OCR Engines
| Extra | Description | Use Case |
|---|---|---|
feat-ocr-rapidocr |
RapidOCR (lightweight) | Fast OCR |
feat-ocr-rapidocr-onnx |
RapidOCR with ONNX runtime | Optimized OCR |
feat-ocr-easyocr |
EasyOCR | Multi-language OCR |
feat-ocr-tesserocr |
Tesseract OCR | High-accuracy OCR |
feat-ocr-mac |
macOS native OCR | macOS only |
Models
| Extra | Description | Use Case |
|---|---|---|
models-local |
Local PyTorch models | GPU/CPU inference |
models-remote |
Remote model serving (Triton) | Production deployments |
models-onnxruntime |
ONNX Runtime acceleration | Optimized inference |
models-vlm-inline |
Vision Language Models | Image understanding, inline processing |
models-asr-inline |
All inline ASR engines (Whisper, Transformers, mlx-audio) | Speech recognition; needs macOS 14 or later on Apple Silicon |
Other features
| Extra | Description | Use Case |
|---|---|---|
feat-chunking |
Document chunking | RAG applications |
service-client |
Docling service client | Remote processing |
License
MIT License - See LICENSE
2.152.0
Nov 23, 2026
2.151.1
Nov 19, 2026
2.151.0
Nov 19, 2026
2.150.1
Nov 14, 2026
2.150.0
Nov 10, 2026
2.149.0
Nov 08, 2026
2.148.0
Nov 05, 2026
2.147.0
Nov 04, 2026
2.146.0
Nov 03, 2026
2.145.0
Oct 29, 2026
2.144.0
Oct 28, 2026
2.143.1
Oct 27, 2026
2.143.0
Oct 27, 2026
2.142.1
Oct 23, 2026
2.142.0
Oct 22, 2026
2.141.0
Oct 20, 2026
2.140.0
Oct 16, 2026
2.139.0
Oct 14, 2026
2.138.0
Oct 12, 2026
2.137.0
Oct 09, 2026
2.136.0
Oct 09, 2026
2.135.0
Oct 07, 2026
2.134.0
Oct 06, 2026
2.133.0
Oct 03, 2026
2.132.0
Oct 01, 2026
2.131.0
Sep 29, 2026
2.130.0
Sep 22, 2026
2.129.0
Sep 18, 2026
2.128.0
Sep 16, 2026
2.127.0
Sep 14, 2026
2.126.0
Sep 04, 2026
2.125.0
Sep 03, 2026
2.124.0
Aug 31, 2026
2.123.1
Aug 28, 2026
2.123.0
Aug 26, 2026
2.122.0
Aug 25, 2026
2.121.0
Aug 20, 2026
2.120.3
Aug 18, 2026
2.120.2
Aug 17, 2026
2.120.1
Aug 14, 2026
2.119.0
Aug 10, 2026
2.118.1
Aug 07, 2026
2.118.0
Aug 03, 2026
2.117.0
Jul 30, 2026
2.116.0
Jul 29, 2026
2.115.0
Jul 23, 2026
2.114.0
Jul 20, 2026
2.113.0
Jul 14, 2026
2.112.0
Jul 11, 2026
2.111.0
Jul 08, 2026
2.110.0
Jul 04, 2026
2.109.0
Jul 03, 2026
2.108.0
Jul 01, 2026
2.107.0
Jun 24, 2026
2.106.0
Jun 23, 2026
2.105.0
Jun 22, 2026
2.104.0
Jun 19, 2026
2.103.0
Jun 17, 2026
2.102.2
Jun 15, 2026
2.102.1
Jun 12, 2026
2.102.0
Jun 12, 2026
2.101.0
Jun 10, 2026
2.100.0
Jun 09, 2026
2.99.0
Jun 08, 2026
2.98.0
Jun 08, 2026
2.97.0
Jun 03, 2026
2.96.1
Jun 01, 2026
2.96.0
May 28, 2026
2.95.0
May 21, 2026
2.94.0
May 18, 2026
2.93.0
May 07, 2026
2.92.0
Apr 29, 2026