-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
124 lines (113 loc) · 2.67 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[build-system]
requires = ["setuptools>=61.0.0"]
build-backend = "setuptools.build_meta"
[project]
name = "supertriplets"
description = "Torch Multimodal Supervised Triplet Learning Toolbox"
readme = "README.md"
classifiers = [
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13"
]
requires-python = ">=3.8"
license = {file = "LICENSE.txt"}
keywords = [
"data-science",
"contrastive-learning",
"triplet-learning",
"online-triplet-learning",
"natural-language-processing",
"computer-vision",
"artificial-intelligence",
"machine-learning",
"deep-learning",
"transformers",
"nlp",
"cv"
]
authors = [
{name = "Gabriel Tardochi Salles", email = "ga.tardochisalles@gmail.com"}
]
maintainers = [
{name = "Gabriel Tardochi Salles", email = "ga.tardochisalles@gmail.com"}
]
dynamic = ["version"]
dependencies = [
"pandas",
"numpy",
"Pillow",
"torch",
"timm",
"torchvision",
"transformers",
"sentence-transformers",
"scikit-learn",
"faiss-gpu"
]
[project.optional-dependencies]
dev = [
"pre-commit",
"ruff",
"black",
"pytest",
"pytest-cov"
]
[project.urls]
Homepage = "https://github.com/gabrieltardochi/supertriplets"
Repository = "https://github.com/gabrieltardochi/supertriplets"
Changelog = "https://github.com/gabrieltardochi/supertriplets/blob/main/CHANGELOG.md"
[tool.setuptools.packages.find]
include = ["supertriplets", "supertriplets.models"]
[tool.setuptools.dynamic]
version = {attr = "supertriplets.__version__"}
[tool.pytest.ini_options]
log_format = "%(asctime)s %(name)s %(levelname)s %(message)s"
log_date_format = "%Y-%m-%d %H:%M:%S"
log_cli = "True"
testpaths = [
"tests"
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
]
[tool.isort]
profile = "black"
[tool.ruff]
# Ignore line length violations
ignore = ["E501"]
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
[tool.ruff.per-file-ignores]
# Ignore imported but unused;
"__init__.py" = ["F401"]
[tool.black]
line-length = 120