Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.5%) to scientific vocabulary
Last synced: 6 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: cmz-consul
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 40.3 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created 11 months ago · Last pushed 11 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct Citation Security

README.md

Docling

Docling

DS4SD%2Fdocling | Trendshift

arXiv Docs PyPI version PyPI - Python Version Poetry Code style: black Imports: isort Pydantic v2 pre-commit License MIT PyPI Downloads Docling Actor LF AI & Data

Docling simplifies document processing, parsing diverse formats including advanced PDF understanding and providing seamless integrations with the gen AI ecosystem.

Features

  • Parsing of multiple document formats incl. PDF, DOCX, XLSX, HTML, images, and more
  • Advanced PDF understanding incl. page layout, reading order, table structure, code, formulas, image classification, and more
  • Unified, expressive DoclingDocument representation format
  • Various export formats and options, including Markdown, HTML, and lossless JSON
  • 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 of Visual Language Models (SmolDocling)
  • Simple and convenient CLI

Coming soon

  • Metadata extraction, including title, authors, references & language
  • Chart understanding (Barchart, Piechart, LinePlot, etc)
  • Complex chemistry understanding (Molecular structures)

Installation

To use Docling, simply install docling from your package manager, e.g. pip: bash pip install docling

Works on macOS, Linux and Windows environments. Both x86_64 and arm64 architectures.

More detailed installation instructions are available in the docs.

Getting started

To convert individual documents with python, use convert(), for example:

```python from docling.document_converter import DocumentConverter

source = "https://arxiv.org/pdf/2408.09869" # document per local path or URL converter = DocumentConverter() result = converter.convert(source) print(result.document.exporttomarkdown()) # output: "## Docling Technical Report[...]" ```

More advanced usage options are available in the docs.

CLI

Docling has a built-in CLI to run conversions.

bash docling https://arxiv.org/pdf/2206.01062

You can also use SmolDocling and other VLMs via Docling CLI: bash docling --pipeline vlm --vlm-model smoldocling https://arxiv.org/pdf/2206.01062 This will use MLX acceleration on supported Apple Silicon hardware.

Read more here

Documentation

Check out Docling's documentation, for details on installation, usage, concepts, recipes, extensions, and more.

Examples

Go hands-on with our examples, demonstrating how to address different application use cases with Docling.

Integrations

To further accelerate your AI application development, check out Docling's native integrations with popular frameworks and tools.

Get help and support

Please feel free to connect with us using the discussion section.

Technical report

For more details on Docling's inner workings, check out the Docling Technical Report.

Contributing

Please read Contributing to Docling for details.

References

If you use Docling in your projects, please consider citing the following:

bib @techreport{Docling, author = {Deep Search Team}, month = {8}, title = {Docling Technical Report}, url = {https://arxiv.org/abs/2408.09869}, eprint = {2408.09869}, doi = {10.48550/arXiv.2408.09869}, version = {1.0.0}, year = {2024} }

License

The Docling codebase is under MIT license. For individual model usage, please refer to the model licenses found in the original packages.

LF AI & Data

Docling is hosted as a project in the LF AI & Data Foundation.

IBM Open Source AI

The project was started by the AI for knowledge team at IBM Research Zurich.

Owner

  • Login: cmz-consul
  • Kind: user

GitHub Events

Total
  • Member event: 1
  • Push event: 23
  • Create event: 3
Last Year
  • Member event: 1
  • Push event: 23
  • Create event: 3

Dependencies

.github/actions/setup-poetry/action.yml actions
  • actions/setup-python v5 composite
.github/workflows/cd-docs.yml actions
.github/workflows/cd.yml actions
  • ./.github/actions/setup-poetry * composite
  • actions/checkout v4 composite
  • actions/create-github-app-token v1 composite
.github/workflows/checks.yml actions
  • ./.github/actions/setup-poetry * composite
  • actions/cache v4 composite
  • actions/checkout v4 composite
.github/workflows/ci-docs.yml actions
.github/workflows/ci.yml actions
.github/workflows/docs.yml actions
  • ./.github/actions/setup-poetry * composite
  • actions/checkout v4 composite
.github/workflows/pypi.yml actions
  • ./.github/actions/setup-poetry * composite
  • actions/checkout v4 composite
.actor/Dockerfile docker
  • node 20-slim build
  • quay.io/ds4sd/docling-serve-cpu latest build
Dockerfile docker
  • python 3.11-slim-bookworm build
poetry.lock pypi
  • 299 dependencies
pyproject.toml pypi
  • numpy [{"version" => ">=1.24.4,<3.0.0", "markers" => "python_version >= \"3.10\""}, {"version" => ">=1.24.4,<2.1.0", "markers" => "python_version < \"3.10\""}] constraints
  • black ^24.4.2 develop
  • flake8 ^6.0.0 develop
  • flake8-pyproject ^1.2.3 develop
  • ipykernel ^6.29.5 develop
  • ipywidgets ^8.1.5 develop
  • isort ^5.10.1 develop
  • mypy ^1.10.1 develop
  • nbqa ^1.9.0 develop
  • pandas-stubs ^2.1.4.231227 develop
  • pre-commit ^3.7.1 develop
  • pylint ^2.17.5 develop
  • pyproject-flake8 ^6.0.0 develop
  • pytest ^7.2.2 develop
  • pytest-xdist ^3.3.1 develop
  • python-semantic-release ^7.32.2 develop
  • types-openpyxl ^3.1.5.20241114 develop
  • types-requests ^2.31.0.2 develop
  • types-tqdm ^4.67.0.20241221 develop
  • griffe-pydantic ^1.1.0 docs
  • mkdocs-click ^0.8.1 docs
  • mkdocs-jupyter ^0.25.0 docs
  • mkdocs-material ^9.5.40 docs
  • mkdocstrings ^0.27.0 docs
  • datasets ^2.21.0 examples
  • langchain-huggingface ^0.0.3 examples
  • langchain-milvus ^0.1.4 examples
  • langchain-text-splitters ^0.2.4 examples
  • python-dotenv ^1.0.1 examples
  • torch [{"markers" => "sys_platform != 'darwin' or platform_machine != 'x86_64'", "version" => "^2.2.2"}, {"markers" => "sys_platform == 'darwin' and platform_machine == 'x86_64'", "version" => "~2.2.2"}] mac_intel
  • torchvision [{"markers" => "sys_platform != 'darwin' or platform_machine != 'x86_64'", "version" => "^0"}, {"markers" => "sys_platform == 'darwin' and platform_machine == 'x86_64'", "version" => "~0.17.2"}] mac_intel
  • accelerate [{"markers" => "sys_platform != 'darwin' or platform_machine != 'x86_64'", "version" => "^1.2.1", "optional" => true}]
  • beautifulsoup4 ^4.12.3
  • certifi >=2024.7.4
  • docling-core ^2.23.1
  • docling-ibm-models ^3.4.0
  • docling-parse ^4.0.0
  • easyocr ^1.7
  • filetype ^1.2.0
  • huggingface_hub >=0.23,<1
  • lxml >=4.0.0,<6.0.0
  • marko ^2.1.2
  • ocrmac ^1.0.0
  • onnxruntime [{"version" => ">=1.7.0,<1.20.0", "optional" => true, "markers" => "python_version < '3.10'"}, {"version" => "^1.7.0", "optional" => true, "markers" => "python_version >= '3.10'"}]
  • openpyxl ^3.1.5
  • pandas ^2.1.4
  • pillow >=10.0.0,<12.0.0
  • pluggy ^1.0.0
  • pydantic ^2.0.0
  • pydantic-settings ^2.3.0
  • pylatexenc ^2.10
  • pypdfium2 ^4.30.0
  • python ^3.9
  • python-docx ^1.1.2
  • python-pptx ^1.0.2
  • rapidocr-onnxruntime ^1.4.0
  • requests ^2.32.2
  • rtree ^1.3.0
  • scipy [{"version" => "^1.6.0", "markers" => "python_version >= '3.10'"}, {"version" => ">=1.6.0,<1.14.0", "markers" => "python_version < '3.10'"}]
  • tesserocr ^2.7.1
  • tqdm ^4.65.0
  • transformers [{"markers" => "sys_platform != 'darwin' or platform_machine != 'x86_64'", "version" => "^4.46.0", "optional" => true}, {"markers" => "sys_platform == 'darwin' and platform_machine == 'x86_64'", "version" => "~4.42.0", "optional" => true}]
  • typer ^0.12.5
requirements.txt pypi