chore: project scaffolding mit uv und pyproject.toml

This commit is contained in:
2026-05-04 21:54:17 +02:00
parent 8746b187a7
commit db46a154c8
7 changed files with 61 additions and 0 deletions

37
pyproject.toml Normal file
View File

@@ -0,0 +1,37 @@
[project]
name = "rag-ingestor"
version = "0.1.0"
description = "Nextcloud → Qdrant RAG ingestion service"
requires-python = ">=3.12"
dependencies = [
"fastapi>=0.115",
"uvicorn[standard]>=0.32",
"httpx>=0.28",
"pydantic>=2.10",
"pydantic-settings>=2.7",
"pymupdf>=1.25",
"python-docx>=1.1",
"ollama>=0.4",
"qdrant-client>=1.12",
]
[dependency-groups]
dev = [
"pytest>=8.3",
"pytest-asyncio>=0.25",
"respx>=0.22",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
[tool.uv]
package = true
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["app"]