-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
50 lines (44 loc) · 1.13 KB
/
pyproject.toml
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
[project]
name = "promplate-demo"
version = "1"
authors = [{ name = "Muspi Merol", email = "[email protected]" }]
requires-python = ">=3.10,<3.14"
readme = "README.md"
license = { text = "MIT" }
dependencies = [
"fastapi~=0.115.0",
"uvicorn[standard]~=0.34.0",
"promplate[all]~=0.3.4.7",
"promplate-trace[langfuse,langsmith]==0.3.0dev5",
"python-box~=7.3.0",
"pydantic-settings~=2.7.0",
"httpx[http2]~=0.28.0",
"promptools[stream,validation]~=0.1.3.3",
"fake-useragent~=2.0.0",
"html2text~=2024.2.26",
"beautifulsoup4~=4.12.3",
"rich~=13.9.0",
"zhipuai~=2.1.5.20241203",
"anthropic~=0.42.0",
"dashscope~=1.20.2",
"logfire[fastapi,system-metrics,httpx]~=3.0.0",
]
[tool.pdm]
distribution = false
[dependency-groups]
dev = [
"isort~=5.13.2",
"black~=24.4.2",
]
[tool.pdm.scripts]
fmt = { composite = ["isort ./{args}", "black ./{args}"] }
dev = "uvicorn src.entry:app --reload"
prod = "uvicorn src.entry:app --host 0.0.0.0 --port $PORT"
[tool.isort]
profile = "black"
[tool.black]
line-length = 130
[tool.pyright]
exclude = ["**/*.pyi"]
include = ["src"]
typeCheckingMode = "standard"