didi-lot1-ai/ai_platform/modules/video-analysis/pyproject.toml

46 lines
1.1 KiB
TOML

[project]
name = "video-analysis"
version = "0.1.0"
description = "Video analysis service for deepfake detection (semantic analysis via vLLM backends)."
requires-python = ">=3.11"
readme = "README.md"
dependencies = [
"fastapi>=0.115.0,<1.0",
"uvicorn[standard]>=0.32.0,<1.0",
"pydantic>=2.0,<3.0",
"pydantic-settings>=2.0,<3.0",
"python-multipart>=0.0.9,<1.0",
"opencv-python-headless>=4.8",
"pillow>=10.0",
"requests>=2.31,<3.0",
"httpx>=0.27,<1.0",
"numpy>=1.24,<2.0",
"pyyaml>=6.0,<7.0",
"prometheus-fastapi-instrumentator>=7.0.0",
"opentelemetry-instrumentation-fastapi>=0.50b0",
"opentelemetry-exporter-otlp-proto-grpc>=1.30.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0,<9.0",
"pytest-cov>=4.0,<6.0",
"ruff>=0.8,<1.0",
"httpx>=0.27,<1.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/video_analysis"]
[tool.ruff]
extend = "../../ruff.toml"
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]