pydantic<3.0.0,>=2.0.0
docling-core[chunking]<3.0.0,>=2.71.0
docling-parse<6.0.0,>=5.3.2
docling-ibm-models<4,>=3.13.0
torch<3.0.0,>=2.2.2
torchvision<1,>=0
filetype<2.0.0,>=1.2.0
pypdfium2!=4.30.1,<6.0.0,>=4.30.0
pydantic-settings<3.0.0,>=2.3.0
huggingface_hub<2,>=0.23
httpx<1.0.0,>=0.28
requests<3.0.0,>=2.32.2
rapidocr<4.0.0,>=3.8
certifi>=2024.7.4
rtree<2.0.0,>=1.3.0
typer<0.22.0,>=0.12.5
python-docx<2.0.0,>=1.1.2
python-pptx<2.0.0,>=1.0.2
beautifulsoup4<5.0.0,>=4.12.3
pandas<4.0.0,>=2.1.4
marko<3.0.0,>=2.1.2
openpyxl<4.0.0,>=3.1.5
lxml<7.0.0,>=4.0.0
pillow<13.0.0,>=10.0.0
tqdm<5.0.0,>=4.65.0
pluggy<2.0.0,>=1.0.0
pylatexenc<3.0,>=2.10
scipy<2.0.0,>=1.6.0
accelerate<2,>=1.0.0
polyfactory>=2.22.2
defusedxml<0.8.0,>=0.7.1
websockets<17.0,>=14.0

[:sys_platform == "darwin"]
ocrmac<2.0.0,>=1.0.0

[asr]
openai-whisper>=20250625
numba>=0.63.0

[asr:python_version >= "3.10" and sys_platform == "darwin" and platform_machine == "arm64"]
mlx-whisper>=0.4.3

[easyocr]
easyocr<2.0,>=1.7

[htmlrender]
playwright>=1.58.0

[ocrmac]

[ocrmac:sys_platform == "darwin"]
ocrmac<2.0.0,>=1.0.0

[onnxruntime]

[onnxruntime:python_version < "3.14" and (sys_platform == "linux" or sys_platform == "win32")]
onnxruntime-gpu<1.24

[onnxruntime:python_version < "3.14" and sys_platform == "darwin"]
onnxruntime<1.24

[rapidocr]
rapidocr<4.0.0,>=3.8

[rapidocr:python_version < "3.14"]
onnxruntime<2.0.0,>=1.7.0

[remote-serving]
tritonclient[grpc]<3.0.0,>=2.65.0

[tesserocr]
tesserocr<3.0.0,>=2.7.1

[vlm]
transformers!=5.0.*,!=5.1.*,!=5.2.*,!=5.3.*,<6.0.0,>=4.42.0
accelerate<2.0.0,>=1.2.1
qwen-vl-utils>=0.0.11
peft>=0.18.1

[vlm:python_version >= "3.10" and sys_platform == "darwin" and platform_machine == "arm64"]
mlx-vlm<1.0.0,>=0.4.3

[xbrl]
arelle-release<3.0.0,>=2.38.17
