boto3>=1.28.43
click>=8.1.7
loguru>=0.7.2
numpy>=1.21.6
pdfminer.six>=20251230
tqdm>=4.67.1
requests
httpx
pillow>=11.0.0
pypdfium2>=4.30.0
pypdf>=5.6.0
reportlab
pdftext>=0.6.3
modelscope>=1.26.0
huggingface-hub>=0.32.4
json-repair>=0.46.2
opencv-python>=4.11.0.86
fast-langdetect<0.3.0,>=0.2.3
scikit-image<1.0.0,>=0.25.0
openai<3,>=1.70.0
beautifulsoup4<5,>=4.13.5
magika<1.1.0,>=0.6.2
mineru-vl-utils<1,>=0.2.3
qwen-vl-utils<1,>=0.0.14
python-docx<2,>=1.2.0
pypptx-with-oxml<2,>=1.0.3
mammoth<2,>=1.11.0
pylatexenc<3,>=2.10
lxml<7.0.0,>=4.0.0
pandas<3,>=2.3.3
openpyxl<4,>=3.1.5
fastapi
python-multipart
uvicorn

[all]
mineros[core]

[all:sys_platform == "darwin"]
mineros[mlx]

[all:sys_platform == "linux"]
mineros[vllm]

[all:sys_platform == "win32"]
mineros[lmdeploy]

[core]
mineros[vlm]
mineros[pipeline]
mineros[gradio]

[gradio]
gradio!=6.0.0,!=6.0.1,!=6.0.2,!=6.1.0,!=6.2.0,!=6.3.0,!=6.4.0,!=6.5.0,!=6.5.1,!=6.6.0,!=6.7.0,<6.9.0,>=5.49.1
gradio-pdf>=0.0.22

[lmdeploy]
lmdeploy<0.12,>=0.10.2

[mlx]
mlx-vlm<0.4,>=0.3.3

[pipeline]
dill<1,>=0.3.8
PyYAML<7,>=6.0.1
ftfy<7,>=6.3.1
shapely<3,>=2.0.7
pyclipper<2,>=1.3.0
omegaconf<3,>=2.3.0
torch<3,>=2.6.0
torchvision
transformers<5.0.0,>=4.57.3
onnxruntime>1.17.0
albumentations<3,>=2.0.8

[test]
mineros[core]
pytest
pytest-cov
coverage
fuzzywuzzy

[vllm]
vllm<0.12,>=0.10.1.1

[vlm]
torch<3,>=2.6.0
transformers<5.0.0,>=4.57.3
accelerate>=1.5.1
