A fast, helpful, and open-source document parser
[project]
name = "paddleocr-liteparse"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12,<3.14"
dependencies = [
"fastapi>=0.131.0",
"numpy>=2.4.2",
"paddleocr>=3.4.0",
"paddlepaddle>=3.3.0",
"pillow>=12.1.1",
"python-multipart>=0.0.22",
"uvicorn>=0.41.0",
]
[tool.uv]
# paddlepaddle publishes platform wheels unevenly (3.4.0 shipped win_amd64
# only). Forcing these environments makes uv resolve to a version that has
# wheels for the platforms we actually run on, instead of the newest tag.
required-environments = [
"sys_platform == 'linux' and platform_machine == 'x86_64'",
"sys_platform == 'darwin' and platform_machine == 'arm64'",
]
[tool.uv.sources]
paddlepaddle = { index = "paddle" }
[[tool.uv.index]]
name = "paddle"
url = "https://www.paddlepaddle.org.cn/packages/stable/cpu/"
explicit = true
[dependency-groups]
dev = [
"httpx>=0.28.1",
"pytest>=9.0.2",
]