pandas
pdfplumber
pypdfium2
camelot-py>=2
typer>=0.12
rich>=13

[:python_version < "3.11"]
tomli

[:python_version < "3.11" or sys_platform == "darwin" and platform_machine != "arm64" or sys_platform == "linux" and platform_machine not in "x86_64 aarch64" or sys_platform == "win32" and platform_machine not in "AMD64 x86_64" or sys_platform != "darwin" and sys_platform != "linux" and sys_platform != "win32"]
pymupdf<2

[:python_version >= "3.11" and (sys_platform == "darwin" and platform_machine == "arm64" or sys_platform == "linux" and platform_machine in "x86_64 aarch64" or sys_platform == "win32" and platform_machine in "AMD64 x86_64")]
pymupdf>=2.0

[all]
pdfexorcist[chandra,doctr,glmocr,ocrmac,paddleocr,pypdf,tabula]

[camelot-ml]
camelot-py[ml]>=2

[chandra]
chandra-ocr
torch
torchvision
transformers
accelerate
pillow

[doctr]
onnxtr[cpu]

[glmocr]
pillow

[glmocr:sys_platform == "darwin" and platform_machine == "arm64"]
mlx-vlm

[mac]
pdfexorcist[ocrmac]

[mlx]
pdfexorcist[glmocr]

[ocr]
pdfexorcist[chandra]

[ocrmac]
pillow

[ocrmac:sys_platform == "darwin"]
ocrmac

[paddle]
pdfexorcist[paddleocr]

[paddleocr]
paddleocr>=3
paddlepaddle
pillow

[pypdf]
pypdf==6.20.0

[tabula]
tabula-py
jpype1
