-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
39 lines (33 loc) · 766 Bytes
/
pyproject.toml
File metadata and controls
39 lines (33 loc) · 766 Bytes
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
[project]
name = "pillchecker-api"
version = "0.1.0"
description = "Medication interaction checker API"
requires-python = ">=3.12,<3.13"
dependencies = [
"fastapi>=0.115.0",
"uvicorn[standard]>=0.34.0",
"transformers>=4.48.0",
"torch>=2.5.0",
"httpx>=0.28.0",
"pydantic>=2.10.0",
"slowapi>=0.1.9",
"aiosqlite>=0.22.1",
]
[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[tool.uv.sources]
torch = { index = "pytorch-cpu" }
[dependency-groups]
dev = [
"pytest>=9.0.3",
"pytest-asyncio>=0.25.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["app"]
[tool.pytest.ini_options]
asyncio_mode = "auto"