This commit is contained in:
zimoyin
2026-10-11 02:26:26 +08:00
commit 11883e260f
21 changed files with 4306 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
[project]
name = "ocr-server"
version = "0.1.0"
description = "PaddleOCR PP-OCRv5 HTTP server"
readme = "README.md"
requires-python = ">=3.10,<3.14"
dependencies = [
"fastapi>=0.115,<1",
"pillow>=10.0,<12",
"python-multipart>=0.0.9,<1",
"pyyaml>=6.0,<7",
"uvicorn[standard]>=0.34,<1",
"paddleocr>=3.2,<4",
"paddlepaddle>=3.0,<4",
]
[project.scripts]
ocr-server = "ocr_server:main"
[build-system]
requires = ["uv_build>=0.13.0,<0.14.0"]
build-backend = "uv_build"
[dependency-groups]
dev = [
"pytest>=9.1.1",
]