-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (53 loc) · 1.55 KB
/
pyproject.toml
File metadata and controls
63 lines (53 loc) · 1.55 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
[project]
name = "torchtextclassifiers"
description = "An implementation of the https://github.com/facebookresearch/fastText supervised learning algorithm for text classification using Pytorch."
authors = [
{ name = "Tom Seimandi", email = "tom.seimandi@gmail.com" },
{ name = "Julien Pramil", email = "julien.pramil@insee.fr" },
{ name = "Meilame Tayebjee", email = "meilame.tayebjee@insee.fr" },
{ name = "Cédric Couralet", email = "cedric.couralet@insee.fr" },
]
readme = "README.md"
repository = "https://github.com/InseeFrLab/torchTextClassifiers"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
keywords = ["fastText", "text classification", "NLP", "automatic coding", "deep learning"]
dependencies = [
"numpy>=1.26.4",
"pytorch-lightning>=2.4.0",
]
requires-python = ">=3.11"
version="0.0.0-dev"
[dependency-groups]
dev = [
"pytest >=8.1.1,<9",
"pandas",
"scikit-learn",
"nltk",
"unidecode",
"captum",
"pyarrow"
]
docs = [
"sphinx>=5.0.0",
"sphinx-rtd-theme>=1.2.0",
"sphinx-autodoc-typehints>=1.19.0",
"sphinxcontrib-napoleon>=0.7",
"sphinx-copybutton>=0.5.0",
"myst-parser>=0.18.0",
"sphinx-design>=0.3.0"
]
[project.optional-dependencies]
explainability = ["unidecode", "nltk", "captum"]
preprocess = ["unidecode", "nltk"]
[build-system]
requires = ["uv_build>=0.9.3,<0.10.0"]
build-backend = "uv_build"
[tool.ruff]
line-length = 100
[tool.uv.build-backend]
module-name="torchTextClassifiers"
module-root = ""