-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
54 lines (49 loc) · 1.11 KB
/
pyproject.toml
File metadata and controls
54 lines (49 loc) · 1.11 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
[project]
name = "codif-ape-API"
version = "0.1.0"
description = "API for deployment of the classification model for APE nomenclature"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"fastapi>=0.115.12",
"mlflow>=2.21.2",
"nltk>=3.9.1",
"numpy>=2.2.4",
"omegaconf>=2.3.0",
"pandas>=2.2.3",
"pendulum>=3.0.0",
"pyarrow>=19.0.1",
"pydantic>=2.11.1",
"requests>=2.32.3",
"s3fs>=2025.3.2",
"torch>=2.6.0",
"torchfasttext",
"tqdm>=4.67.1",
"unidecode>=1.3.8",
"uvicorn>=0.34.0",
]
authors = [
{name="Thomas Faria", email="thomas.faria@insee.fr"},
{name="Meilame Tayebjee", email="meilame.tayebjee@insee.fr"}
]
[dependency-groups]
dev = [
"ruff>=0.11.0",
"pre-commit>=4.2.0",
]
[tool.ruff]
line-length = 100
[tool.uv]
default-groups = ["dev"]
[tool.uv.sources]
torchfasttext = { git = "https://github.com/InseeFrLab/torch-fastText.git", branch = "main" }
torch = [
{ index = "pytorch-cpu" },
]
torchvision = [
{ index = "pytorch-cpu" },
]
[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true