docling: SDK and CLI for parsing PDF, DOCX, HTML, and more, to a unified document representation for powering downstream workflows such as gen AI applications. · Pythie
Docling simplifies document processing by parsing diverse formats — including advanced PDF understanding — and providing seamless integrations with the generative AI ecosystem.
Features
🗂️ Parsing of multiple document formats including PDF, DOCX, PPTX, XLSX, HTML, EPUB, Apple Pages, Numbers & Keynote, WAV, MP3, WebVTT, Box Notes, email formats (EML, MSG), iCalendar (ICS), images (PNG, TIFF, JPEG, ...), LaTeX, DocLang, plain text, and more
📑 Advanced PDF understanding incl. page layout, reading order, table structure, code, formulas, image classification, and more
🧬 A unified, expressive DoclingDocument representation format
↪️ Various export formats and options, including Markdown, HTML, WebVTT, DocLang, DocTags and lossless JSON
📜 Support for several application-specific XML schemas including DocLang, USPTO patents, JATS articles, and XBRL financial reports.
🔒 Local execution capabilities for sensitive data and air-gapped environments
🤖 Plug-and-play integrations incl. LangChain, LlamaIndex, Crew AI & Haystack for agentic AI
🔍 Extensive OCR support for scanned PDFs and images
👓 Support for several Visual Language Models, such as (GraniteDocling)
🎙️ Audio support with Automatic Speech Recognition (ASR) models
🌐 Run Docling as a service with the API server (docling-serve)
💻 Simple and convenient CLI
What's new
🎬 Parsing of video files (MP4, AVI, MOV, MKV, and WebM) with an ASR transcript and representative keyframes
📄 Parsing of ODF (OpenDocument Format) files for text documents (.odt), spreadsheets (.ods), and presentations (.odp)
💼 Parsing of XBRL (eXtensible Business Reporting Language) and iXBRL (Inline eXtensible Business Reporting Language) documents for financial reports
📧 Parsing of email files (.eml, .msg), including meeting invitations
📅 Parsing of calendar files (.ics, .ical, .icalendar, .ifb) with events, tasks, journal entries and free/busy times, with attendees, reminders and attachment names
📚 Parsing of EPUB (Electronic Publication) files for e-books
🍎 Parsing of Apple Pages (.pages) documents, Numbers (.numbers) spreadsheets and Keynote (.key) presentations
📝 Parsing of plain-text files (.txt, .text) and Markdown supersets (.qmd, .Rmd)
📊 Chart understanding (Barchart, Piechart, LinePlot): convert them into tables or code and add detailed descriptions
Coming soon
📝 Metadata extraction, including title, authors, references & language
from docling.document_converter import DocumentConverter
source = "https://arxiv.org/pdf/2408.09869" # a document via a local path or URL
converter = DocumentConverter()
result = converter.convert(source)
print(result.document.export_to_markdown()) # output: "## Docling Technical Report[...]"
Fast, local document-to-Markdown for LLMs and RAG: docling in Rust, with docling's, MarkItDown's, Marker's and MinerU's Python APIs. PDF (layout, tables, OCR), DOCX, PPTX, XLSX, HTML, EPUB, email and more.
docling-slimModular 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.
Pythie’s Index: 79
This package contains the AI models used by the Docling PDF conversion package
4.9M downloads/mo
docling-parsePythie’s Index: 91Simple package to extract text with coordinates from programmatic PDFs5.3M downloads/mo