[project] name = "lexguard-backend" version = "0.1.0" description = "LexGuard backend: multi-agent contract intelligence API" requires-python = ">=3.11" dependencies = [ "fastapi>=0.115.0", "uvicorn[standard]>=0.32.0", "python-multipart>=0.0.12", "pydantic>=2.9.0", "pydantic-settings>=2.5.0", "google-genai>=1.0.0", "groq>=0.11.0", "pdfplumber>=0.11.0", "python-docx>=1.1.2", "chromadb>=0.5.15", "sentence-transformers>=3.2.0", "httpx>=0.27.0", "sse-starlette>=2.1.3", "tenacity>=9.0.0", "python-dotenv>=1.0.1", ] [project.optional-dependencies] ocr = [ "pytesseract>=0.3.13", "pdf2image>=1.17.0", "Pillow>=10.0.0", ] dev = [ "pytest>=8.3.0", "pytest-asyncio>=0.24.0", "ruff>=0.7.0", "mypy>=1.13.0", ] [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] packages = ["app"] [tool.ruff] line-length = 100 target-version = "py311" [tool.pytest.ini_options] asyncio_mode = "auto" testpaths = ["tests"]