scikit-learn
markdown
pandas
pdfplumber>=0.11.7
colormath2
pillow
colour
numpy
urllib3
tqdm
rich
pydantic
jenkspy
scipy
scikit-image
openai
ipywidgets>=7.0.0
python-bidi
matplotlib
huggingface_hub
platformdirs
rapidfuzz>=3.14.5

[:python_version < "3.11"]
onnxruntime<1.24

[:python_version >= "3.11"]
onnxruntime

[ai]
rapidocr
torch
torchvision
huggingface_hub<2,>=1.3
transformers[sentencepiece]<6,>=5.1.0
sentence-transformers>=5.1.2
timm
doclayout_yolo

[ai:platform_system == "Darwin" and platform_machine == "arm64"]
mlx-vlm

[all]
natural-pdf[ai]
natural-pdf[export]

[dev]
black
isort
mypy
pytest
pytest-xdist
nox
nox-uv
scipy-stubs
build
uv
pipdeptree
natural-pdf[notebook]
pre-commit
setuptools
mktestdocs
mkdocs<2
mkdocs-exclude
mkdocs-jupyter
mkdocs-material
mkdocs-redirects
mkdocstrings[python]
pymdown-extensions

[docs]
mkdocs<2
mkdocs-exclude
mkdocs-jupyter
mkdocs-material
mkdocs-redirects
mkdocstrings[python]
pymdown-extensions

[export]
pikepdf
img2pdf
jupytext
nbformat

[notebook]
jupytext
nbclient==0.10.2
nbformat
jupyter_core==5.7.2
ipykernel
PyYAML

[paddle]
chardet<6
paddlepaddle>=3.0.0
paddleocr>=3.0.1
paddlex[ocr]>=3.0.2
numpy<2.0

[quality]
pyspellchecker
langdetect

[test]
pytest
pytest-xdist
setuptools
tomli
mktestdocs
natural-pdf[notebook]
