-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (68 loc) · 1.7 KB
/
Copy pathpyproject.toml
File metadata and controls
73 lines (68 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "depthapi"
version = "0.1.0"
description = "DepthAPI: The Cognitive Synthesis Engine"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "Apache-2.0" }
dependencies = [
"fastapi>=0.109.2",
"uvicorn[standard]>=0.27.1",
"pydantic>=2.0.0",
"pydantic-settings>=2.1.0",
"PyJWT>=2.8.0",
"redis>=5.0.1",
"python-dotenv>=1.0.1",
"tenacity>=8.2.3",
"orjson>=3.9.13",
"structlog>=24.1.0",
"openai>=1.51.0",
"sentry-sdk[fastapi]>=2.20.0",
"slowapi>=0.1.9",
"standardwebhooks>=1.0.0",
"jsonschema>=4.0.0",
"tiktoken>=0.7.0",
"faiss-cpu>=1.8.0",
"rank-bm25>=0.2.2",
"filelock>=3.12.0",
"google-genai>=0.2.0",
"asyncpg>=0.29.0"
]
[project.optional-dependencies]
dev = [
"pytest>=8.2.0",
"pytest-asyncio>=0.24.0",
"pytest-mock>=3.12.0",
"coverage>=7.6.0",
"pytest-cov>=5.0.0"
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["api/tests"]
norecursedirs = ["datasets", ".venv", "node_modules"]
addopts = "--cov=api --cov-report=term-missing"
[tool.pyright]
venvPath = "."
venv = ".venv"
include = ["api"]
exclude = ["**/__pycache__", "**/.pytest_cache", "api/tests"]
typeCheckingMode = "basic"
executionEnvironments = [
{ root = ".", extraPaths = [".", "api"] }
]
strict = [
"api/services/inference.py",
"api/routers/query.py",
"api/services/llm_client.py",
"api/services/rate_limit.py",
"api/services/message_gate.py",
"api/services/inference_routing.py",
"api/services/inference_prompting.py",
"api/services/streaming.py",
"api/services/message_utils.py"
]
[tool.hatch.build.targets.wheel]
packages = ["api"]