-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
Copy pathpyproject.toml
271 lines (234 loc) · 5.86 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
[build-system]
build-backend = "setuptools.build_meta"
requires = [ "setuptools>=45", "wheel" ]
[project]
name = "albumentations"
version = "2.0.0"
description = "Fast, flexible, and advanced augmentation library for deep learning, computer vision, and medical imaging. Albumentations offers a wide range of transformations for both 2D (images, masks, bboxes, keypoints) and 3D (volumes, volumetric masks) data, with optimized performance and seamless integration into ML workflows."
readme = "README.md"
keywords = [
"2D augmentation",
"3D augmentation",
"aerial photography",
"anomaly detection",
"artificial intelligence",
"autonomous driving",
"bounding boxes",
# Core Computer Vision Tasks
"classification",
# Technical Domains
"computer vision",
"computer vision library",
"data augmentation",
"data preprocessing",
"data science",
"deep learning",
"deep learning library",
"depth estimation",
"face recognition",
# Performance & Features
"fast augmentation",
# Data Types & Processing
"image augmentation",
"image processing",
"image transformation",
# Data Structures
"images",
"instance segmentation",
"keras",
"keypoint detection",
"keypoints",
"machine learning",
"machine learning tools",
"masks",
# Application Domains
"medical imaging",
"microscopy",
"object counting",
"object detection",
"optimized performance",
"panoptic segmentation",
"pose estimation",
# Development
"python library",
# ML Frameworks
"pytorch",
"quality inspection",
"real-time processing",
"robotics vision",
"satellite imagery",
"semantic segmentation",
"tensorflow",
"volumes",
"volumetric data",
"volumetric masks",
]
license = { file = "LICENSE" }
maintainers = [ { name = "Vladimir Iglovikov" } ]
authors = [ { name = "Vladimir Iglovikov" } ]
requires-python = ">=3.9"
classifiers = [
# Development Status
"Development Status :: 5 - Production/Stable",
# Intended Audience
"Intended Audience :: Developers",
"Intended Audience :: Healthcare Industry", # valid for medical applications
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
# License
"License :: OSI Approved :: MIT License",
# Operating System
"Operating System :: OS Independent",
# Python Versions
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"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",
# Topics - Scientific
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Scientific/Engineering :: Atmospheric Science",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Image Processing",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Visualization",
# Topics - Software Development
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
# Typing
"Typing :: Typed",
]
dynamic = [ "dependencies" ]
optional-dependencies.hub = [ "huggingface-hub" ]
optional-dependencies.pytorch = [ "torch" ]
optional-dependencies.text = [ "pillow" ]
urls.Homepage = "https://albumentations.ai"
[tool.setuptools]
packages = { find = { include = [
"albumentations*",
], exclude = [
"tests",
"tools",
"benchmark",
] } }
package-data = { albumentations = [ "*.txt", "*.md" ] }
[tool.setuptools.exclude-package-data]
"*" = [ "tests*", "tools*", "benchmark*", "conda.recipe*" ]
[tool.ruff]
# Exclude a variety of commonly ignored directories.
target-version = "py39"
line-length = 120
indent-width = 4
# Assume Python 3.9
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"benchmark",
"buck-out",
"build",
"dist",
"node_modules",
"setup.py",
"site",
"site-packages",
"tests",
"tools",
"venv",
]
format.indent-style = "space"
# Like Black, respect magic trailing commas.
format.quote-style = "double"
# Like Black, indent with spaces, rather than tabs.
format.line-ending = "auto"
format.skip-magic-trailing-comma = false
# Like Black, automatically detect the appropriate line ending.
lint.select = [ "ALL" ]
lint.ignore = [
"ANN001",
"ANN204",
"ANN401",
"ARG001",
"ARG002",
"B008",
"B027",
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
"D205",
"D415",
"EM101",
"EM102",
"F403",
"FBT001",
"FBT002",
"FBT003",
"G004",
"PLR0911",
"PLR0913",
"PLR2004",
"PTH123",
"S311",
"S608",
"TC001",
"TC002",
"TC003",
"TRY003",
]
# Allow fix for all enabled rules (when `--fix`) is provided.
lint.explicit-preview-rules = true
lint.fixable = [ "ALL" ]
lint.unfixable = [ ]
# Allow unused variables when underscore-prefixed.
lint.dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
# Like Black, use double quotes for strings.
lint.pydocstyle.convention = "google"
[tool.mypy]
plugins = [ "pydantic.mypy" ]
python_version = "3.9"
ignore_missing_imports = true
follow_imports = "silent"
warn_redundant_casts = true
warn_unused_ignores = true
disallow_any_generics = true
check_untyped_defs = true
no_implicit_reexport = true
# for strict mypy: (this is the tricky one :-))
disallow_untyped_defs = true
[tool.albumentations.maintainers]
emeritus = [
"Alexander Buslaev",
"Alex Parinov",
"Eugene Khvedchenya",
"Mikhail Druzhinin",
]
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true