openrag/pyproject.toml
Edwin Jose 3881c50ad5 Add comprehensive test suite and Makefile targets
Introduces a full test suite under the tests/ directory, including API, service, connector, and utility tests, along with fixtures and documentation. Expands Makefile with granular test commands for unit, integration, API, service, connector, coverage, and quick tests. Adds configuration files for pytest and coverage reporting, and provides a quickstart guide for testing workflow.
2025-10-07 04:41:52 -04:00

60 lines
1.4 KiB
TOML

[project]
name = "openrag"
version = "0.1.15"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"agentd>=0.2.2",
"aiofiles>=24.1.0",
"cryptography>=45.0.6",
"docling[vlm]>=2.41.0; sys_platform != 'darwin'",
"docling[ocrmac,vlm]>=2.41.0; sys_platform == 'darwin'",
"google-api-python-client>=2.143.0",
"google-auth-httplib2>=0.2.0",
"google-auth-oauthlib>=1.2.0",
"msal>=1.29.0",
"httpx>=0.27.0",
"opensearch-py[async]>=3.0.0",
"pyjwt>=2.8.0",
"python-multipart>=0.0.20",
"starlette>=0.47.1",
"torch>=2.7.1",
"uvicorn>=0.35.0",
"boto3>=1.35.0",
"psutil>=7.0.0",
"rich>=13.0.0",
"textual>=0.45.0",
"python-dotenv>=1.0.0",
"textual-fspicker>=0.6.0",
"structlog>=25.4.0",
"docling-serve>=1.4.1",
]
[project.scripts]
openrag = "tui.main:run_tui"
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"pytest-cov>=4.1.0",
"pytest-mock>=3.12.0",
]
[tool.uv]
package = true
[tool.uv.sources]
torch = [
{ index = "pytorch-cu128", marker = "sys_platform == 'linux' and platform_machine == 'x86_64'" },
]
torchvision = [
{ index = "pytorch-cu128", marker = "sys_platform == 'linux' and platform_machine == 'x86_64'" },
]
[[tool.uv.index]]
name = "pytorch-cu128"
url = "https://download.pytorch.org/whl/cu128"
explicit = true