-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
executable file
·64 lines (57 loc) · 1.49 KB
/
pyproject.toml
File metadata and controls
executable file
·64 lines (57 loc) · 1.49 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
61
62
63
64
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "imgtagplus"
version = "1.0.0"
description = "Bulk AI image tagger using CLIP (ONNX) — writes XMP sidecar files for DAM compatibility"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [{name = "ImgTagPlus Contributors"}]
keywords = ["image", "tagging", "AI", "CLIP", "XMP", "DAM", "ONNX"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Multimedia :: Graphics",
]
dependencies = [
"onnxruntime>=1.16.0",
"Pillow>=10.0.0",
"numpy>=1.24.0",
"psutil>=5.9.0",
"huggingface-hub>=0.20.0",
"fastapi>=0.109.0",
"optimum[onnxruntime]>=0.109.0",
"uvicorn>=0.27.0",
"torch>=2.1.0",
"transformers>=4.44.2,<5.0.0",
"einops>=0.7.0",
"timm>=0.9.12",
"textual>=0.60.0"
]
[project.scripts]
imgtagplus = "imgtagplus.cli:main"
[tool.setuptools.packages.find]
where = ["."]
[tool.setuptools.package-data]
imgtagplus = ["static/**/*"]
[tool.pytest.ini_options]
minversion = "7.0"
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
addopts = "-q"
[tool.ruff]
line-length = 120
exclude = [
".cache",
"build",
"node_modules",
]
[tool.ruff.lint]
select = ["E", "F", "I"]