docling-slim
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.
What it is and what it does
Docling Slim is a modular, lightweight alternative to the full Docling package for developers who want fine-grained control over dependencies. It provides core document parsing and conversion capabilities with a base install of approximately 50MB, and you add only the format handlers and features you need through optional extras. The package converts PDFs, Word documents, Excel sheets, PowerPoint presentations, HTML, Markdown, LaTeX, and other formats into a unified document representation suitable for downstream processing like gen AI applications or data extraction.
The package is built on a foundation of standard Python libraries (pydantic, requests, tqdm) plus docling-core for the core parsing logic. You can optionally add PDF support (via pypdfium2 or docling-parse), Office format support, OCR engines (RapidOCR, EasyOCR, Tesseract), local or remote model inference, and CLI tools. This modular design makes it suitable for constrained environments, containerized deployments, or edge cases where you need only a subset of Docling's capabilities.
Use it for:
- Extract structured data from PDFs or Word documents for downstream gen AI applications or RAG pipelines
- Build a lightweight document processing microservice with only the format handlers your application needs
- Parse HTML or Markdown content into a unified document representation for content management systems
- Add OCR capabilities to extract text from scanned documents or images on demand
- Deploy document conversion in resource-constrained environments by selecting minimal extras
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Docling Slim is a lightweight, modular SDK for parsing and converting documents (PDF, DOCX, HTML, Markdown, and others) into a unified representation, with optional extras for specific formats and features.
Yes, if you need modular document parsing with minimal dependencies. The package is actively maintained, permissively licensed, and has low install friction. Install the full `docling` package instead if you want all standard features and CLI tools out of the box without managing extras. Docling Slim is the right choice when you need fine-grained control over what gets installed or are optimizing for deployment size.
Install
docling-slim on PyPI
pip
pip install docling-slimuv
uv add docling-slimpoetry
poetry add docling-slimInstalling docling-slim
Before you install
Low install friction with a pure-Python wheel and 8 runtime dependencies. Active maintenance with a recent release (0 days old) and high repository engagement (64771 stars). Supports Python 3.10 through 3.14.
License in practice
MIT license (permissive) allows unrestricted use, modification, and distribution in both open-source and commercial projects.
Quickstart
pip install docling-slim[format-pdf]
from docling.document_converter import DocumentConverter
converter = DocumentConverter()
result = converter.convert("document.pdf")
Requires Python 3.10 or later. Optional extras (format-pdf, format-office, etc.) must be specified at install time to enable specific document format support.
Verify before relying
- Whether the ~50MB base dependency footprint claim is current for version 2.120.1
- Performance characteristics (speed, memory usage) for large documents or batch processing
- Compatibility and interoperability with the full `docling` package for downstream workflows
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 8 — certifi, docling-core, filetype, pluggy, pydantic-settings, pydantic, requests, tqdm |
| Maintenance | actively maintained — 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 5,699,785/month — #2,049 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: docling_slim-2.120.1-py3-none-any.whl
Keywords: convert, docling, document, docx, html, layout model, markdown, pdf, segmentation
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
doclingDocling parses diverse document formats—PDF,…
permissive · top 5,000 on PyPI
docling-coreDocling Core defines the foundational…
permissive · top 5,000 on PyPI
mineruConverts PDF, DOCX, PPTX, XLSX, images, and web…
unclear · top 15,000 on PyPI
docling-ibm-modelsProvides AI models for table structure…
permissive · top 5,000 on PyPI
langchain-doclingIntegrates Docling document conversion with…
permissive · top 15,000 on PyPI
marker-pdfMarker converts PDFs, images, and other…
permissive · top 15,000 on PyPI
docling-parseExtracts text, coordinates, and bitmap images…
permissive · top 5,000 on PyPI
pymupdf4llmConverts PDFs and documents into clean,…
agpl · top 1,000 on PyPI
PlimPlim translates a concise Ruby-inspired…
permissive · top 15,000 on PyPI
unoserverUnoserver runs LibreOffice as a persistent…
permissive · top 15,000 on PyPI