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.
Actively maintained. Last release 4 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install docling-slimDocling 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 |
|---|