-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (63 loc) · 1.63 KB
/
Copy pathpyproject.toml
File metadata and controls
70 lines (63 loc) · 1.63 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
[project]
name = "chat-api"
version = "0.1.0"
description = "Chat API microservice with LLM integration"
requires-python = ">=3.11"
dependencies = [
# FastAPI
"fastapi>=0.116.1",
"uvicorn[standard]>=0.32.0",
"pydantic>=2.9.2",
"pydantic-settings>=2.6.1",
"python-multipart>=0.0.12",
"httpx>=0.27.2",
# Database
"sqlmodel>=0.0.22",
"alembic>=1.14.0",
"psycopg2-binary>=2.9.10",
# OpenTelemetry
"opentelemetry-api>=1.35.0",
"opentelemetry-sdk>=1.35.0",
"opentelemetry-instrumentation>=0.56b0",
"opentelemetry-instrumentation-fastapi>=0.56b0",
"opentelemetry-instrumentation-httpx>=0.56b0",
"opentelemetry-instrumentation-logging>=0.56b0",
"opentelemetry-instrumentation-sqlalchemy>=0.56b0",
"opentelemetry-exporter-otlp>=1.35.0",
"opentelemetry-exporter-otlp-proto-http>=1.35.0",
# Logging
"structlog>=24.4.0",
"python-json-logger>=2.0.7",
# Integrations
"notion-client>=2.2.1",
# Utils
"python-dotenv>=1.0.1",
"tenacity>=9.0.0",
]
[dependency-groups]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"pytest-cov>=4.1.0",
"mypy>=1.8.0",
"ruff>=0.1.0",
"types-PyYAML>=6.0.12",
"types-requests>=2.31.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["app"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
asyncio_default_fixture_loop_scope = "function"
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
[tool.mypy]
python_version = "3.11"
ignore_missing_imports = true