Skip to main content

Docling pipelines

PyPI version Python 3.12 License MIT CI uv Ruff DCO OpenSSF Best Practices

What is Docling pipelines?

Docling pipelines is an enterprise-grade document curation pipeline for Retrieval Augmented Generation (RAG) applications. It ingests data from unstructured sources, curates documents, and writes entities and vector embeddings to targets — enabling AI-ready pipelines at scale.

It connects to cloud document sources (S3, OneDrive, SharePoint, Google Drive, Box, and more) and extracts content and entities from PDF, DOCX, HTML, images, and other formats using Docling. Extracted content is curated for LLMs, converted into chunks and embeddings, and stored in a vector database such as Milvus or OpenSearch.

Features

  • 📥 Multi-source ingestion — local filesystem, Amazon S3, IBM COS, SharePoint, OneDrive, Google Drive, Box, Dropbox, and web pages
  • 📄 Document extraction — PDF, DOCX, HTML, images, and more via Docling, with optional VLM and ASR pipelines
  • 🧠 Entity extraction — LLM-based extraction via LiteLLM (100+ providers), IBM watsonx.ai, or Docling templates
  • ✂️ Chunking — Docling-native and semantic chunking strategies
  • 🔢 Embeddings — vector embedding generation for any downstream vector store
  • 🔍 Quality operators — language detection, readability scoring, PII/HAP detection, deduplication, redaction, SQL filtering, document classification, and ML enrichment
  • 🗄️ Vector storage — write to OpenSearch or Milvus
  • 🔀 DAG-based flows — define pipelines as JSON with automatic dependency resolution and parallel execution
  • 🔌 Extensible — load custom operators from Python packages, local paths, or S3 without modifying core code
  • 🖥️ Multiple interfaces — CLI, Python API (DocpipeFlowManager), and REST API (FastAPI)
  • 🌐 Web UI (beta) — browser-based pipeline builder and run monitor; experimental and not yet recommended for production workloads

Installation

pip install docling-pipelines

Requires Python 3.12. Works on macOS and Linux (x86_64 and arm64).

OCR Installation

RapidOCR is included in the default PyPI installation and works out of the box. For advanced setups, platform-specific extras, or other OCR backends, see the Extract Operator Guide.

Lightweight variant

For a lightweight version of docling-pipelines that excludes certain operator dependencies, see docs/guides/SLIM_VARIANT.md.

Quickstart

1. Run a flow (CLI)

docling-pipelines --flow-file path/to/flow.json

Validate without executing:

docling-pipelines --flow-file flow.json --validate

List all available operators:

docling-pipelines --list-operators

2. Python API

from docpipe import DocpipeFlowManager

manager = DocpipeFlowManager(flow_file="path/to/flow.json")
result = manager.execute()

Log verbosity is controlled via DS_LOG_LEVEL (DEBUG, INFO, WARNING).

UI (beta)

⚠️ Beta notice: The web UI is experimental and not production-ready. It is under active development and may change significantly between releases. For production workloads, use the CLI, Python API, or REST API.

A browser-based UI for building flows and monitoring runs is included in this repository under frontend/.

Docling pipelines includes a React + TypeScript frontend (IBM Carbon Design System) served by the FastAPI backend at /ui.

Development setup

Prerequisites: Node.js 22.15.1 (use nvm use in the frontend/ directory), npm.

1. Start the backend:

uvicorn docpipe.api.main:app --reload --host 0.0.0.0 --port 8080

2. Start the frontend dev server (separate terminal):

cd frontend
nvm use
npm install
npm run dev
# UI available at http://localhost:3000

Production (bundled with the wheel)

The frontend is automatically built and bundled into the wheel during uv build. After installing:

uvicorn docpipe.api.main:app --host 0.0.0.0 --port 8080
# UI available at http://localhost:8080/ui

For full details see FRONTEND_BUILD_INTEGRATION.md and the Frontend README.

Documentation

Check out the full documentation for installation, flow authoring, operator reference, and more:

Available Operators

Category Operators
Ingest Local Filesystem & Remote Source Ingest (ingest_source) — filesystem, S3, IBM COS, SharePoint, OneDrive, Google Drive, Box, Dropbox, web
Extract Document Extractor (extract_operator), ACL Extraction (acl_operator)
Functional Chunking (chunker), Embeddings (embeddings), Branching Operator (branching), Merge Operator (merge), Document ID Hash (doc_id_hash), Entity Curation (entity_curation), No-op (noop)
Quality Language Annotator (lang_detect), Readability Operator (readability), PII and HAP Annotator (pii_and_hap), Document Classifier (document_classifier), Annotation Filter (sql_filter), Redaction (redaction), De-duplicator (ededup), ML Text Enrichment (ml_enrichment), Document Quality (doc_quality)
VectorDB Vector Database (vectordb) — OpenSearch, Milvus
Storage Document Set (document_set) — DuckDB-backed document collections, Storage Output (storage_output) — write pipeline output to filesystem, S3, IBM COS, and more

For per-operator configuration guides, see Operator Configuration Guides.

Examples

Explore sample flows and DocpipeFlowManager examples for common pipeline patterns.

For interactive, hands-on tutorials, see the Jupyter notebook examples.

Contributing

Please read Contributing to Docling pipelines for development setup, code standards, testing requirements, and the pull request process.

License

The Docling pipelines codebase is under the MIT License.

Metadata

Release files for docling-pipelines 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for docling-pipelines 2.0.1
File Size Uploaded
docling_pipelines-2.0.1.tar.gz 5.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for docling-pipelines 2.0.1
File Interpreter ABI Platform
docling_pipelines-2.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.2 MB

Release files / docling_pipelines-2.0.1.tar.gz

Download URL docling_pipelines-2.0.1.tar.gz
Size 5.7 MB
Tags Source
SHA-256 checksum
How to use checksums
6ca4fc41b9a049bfea2c647c7d53657a516520d76952e3ee69b4f86271af6498
BLAKE2b-256 checksum
How to use checksums
3d46563c90bc7b891fddb5b0d733b955b2ebc85f4fe584dfc46460b0f948ce04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release files / docling_pipelines-2.0.1-py3-none-any.whl

Download URL docling_pipelines-2.0.1-py3-none-any.whl
Size 4.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
39859ea7c1493456150c9b33bf0f5baeef618244a9c92393ea4ef4612a723b3c
BLAKE2b-256 checksum
How to use checksums
12170c69973eb6c9e29dbd32d2ad28d22ab48a08139210bcdee57da3874c24b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.0.1 This release

2 release files

2.0.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page