init
This commit is contained in:
@@ -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",
|
||||
]
|
||||
Reference in New Issue
Block a user