-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathpyproject.toml
44 lines (37 loc) · 937 Bytes
/
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
[tool.pyright]
stubPath = "server/typings"
typeCheckingMode = "strict"
reportUnknownVariableType = false
reportUnknownMemberType = false
reportMissingTypeStubs = false
reportPrivateUsage = false
[tool.ruff]
line-length = 120
[tool.ruff.format]
quote-style = "single"
[tool.pytest.ini_options]
pythonpath = ["."]
[tool.poetry]
name = "nllb-api"
version = "4.0.0"
description = ""
authors = ["winstxnhdw <you@example.com>"]
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "^3.12"
litestar = "^2.14.0"
pydantic-settings = "^2.7.1"
transformers = "^4.48.1"
ctranslate2 = "^4.5.0"
fasttext-predict = "^0.9.2.4"
uvloop = { version = "^0.21.0", markers = "sys_platform != 'win32'" }
picologging = "^0.9.3"
granian = "^1.7.5"
[tool.poetry.group.cuda.dependencies]
nvidia-cublas-cu12 = "^12.8.3.14"
[tool.poetry.group.dev.dependencies]
pyright = "^1.1.392"
pytest = "^8.3.4"
ruff = "^0.9.3"
httpx = "^0.28.1"