Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (60 loc) · 1.52 KB
/
Copy pathpyproject.toml
File metadata and controls
68 lines (60 loc) · 1.52 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
[project]
name = "logfire-pydantic"
version = "0.1.0"
requires-python = ">=3.13,<3.14"
dependencies = [
# Web Framework
"fastapi>=0.162.0",
"uvicorn[standard]>=0.54.0",
"pydantic>=2.14.2",
"pydantic-settings>=2.16.2",
"typing-extensions>=4.16.0",
# AI & LLM
"pydantic-ai>=2.66.0",
"openai>=3.45.0",
"anthropic>=2.5.0",
"genai-prices>=0.2.1",
# Observability
"logfire[asyncpg,fastapi,httpx,system-metrics]>=5.4.0",
# Database
"pgvector>=0.5.1",
"sqlalchemy>=2.1.8",
"asyncpg>=0.32.0",
# Utilities
"python-dotenv>=1.2.4",
"httpx>=0.28.1",
"tenacity>=9.1.4",
"tiktoken>=0.14.0",
"python-multipart>=0.0.33",
"beautifulsoup4>=4.15.0",
"lxml>=6.1.3",
"render>=1.7.0",
"pydantic-ai-harness[render]>=0.66.0",
]
[tool.uv]
package = false
[dependency-groups]
dev = [
"black>=26.10.1",
"pytest>=9.2.0",
"pytest-asyncio>=1.4.1.post1",
"ruff>=0.17.3",
]
[tool.ruff]
line-length = 120
[tool.ruff.format]
# Keep the hand-aligned code examples in the docs.
exclude = ["*.md"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "BLE"]
[tool.ruff.lint.per-file-ignores]
# load_dotenv() must run before the app imports read the environment.
"backend/main.py" = ["E402"]
# Prompt text and source data, which line wrapping would change.
"backend/pipeline/*.py" = ["E501"]
"data/sources.py" = ["E501"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"