-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (90 loc) · 2.45 KB
/
Copy pathpyproject.toml
File metadata and controls
99 lines (90 loc) · 2.45 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
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
[build-system]
requires = ["setuptools >= 77.0.3"]
build-backend = "setuptools.build_meta"
[project]
name = "ammico"
dynamic = ["version"]
description = "AI Media and Misinformation Content Analysis Tool"
readme = "README.md"
maintainers = [
{ name = "Inga Ulusoy", email = "ssc@iwr.uni-heidelberg.de" },
{ name = "Dmitrii Kapitan", email = "ssc@iwr.uni-heidelberg.de" },
]
requires-python = ">=3.9"
license = { text = "MIT" }
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
]
dependencies = [
"accelerate",
"colorgram.py",
"colour-science",
"dash",
"dash-bootstrap-components",
"einops",
"faiss-gpu-cu11<=1.13.0",
"google-cloud-vision",
"googletrans-py", # instead of googletrans4.0.0rc1, for a temporary solution due to incompatibility with jupyterlab
"grpcio",
"importlib_resources",
"matplotlib",
"numpy",
"opencv-python",
"pandas",
"pooch",
"Pillow",
"safetensors",
"scipy",
"spacy",
"tf-keras",
"torch<2.9",
"pytorch-lightning<2.7.0",
"sentence-transformers<5.2",
"timm",
"torchvision",
"tqdm",
"transformers<4.58",
"torchcodec",
"webcolors",
"pip>=26.0.1",
]
[project.optional-dependencies]
api = [
"openai>=1.0",
"python-dotenv",
]
dev = [
"pre-commit",
"pytest",
"pytest-cov",
"ruff",
"mkdocs-material",
"mkdocstrings[python]",
]
nb = [
"datasets",
"huggingface-hub",
"ipython",
"jupyter",
"jupyter_dash",
]
[project.urls]
homepage = "https://github.com/ssciwr/AMMICO" # FIXME not shown by pip
documentation = "https://ssciwr.github.io/AMMICO/build/html/index.html"
[tool.setuptools]
packages = ["ammico","ammico.data"]
[tool.ruff.lint]
ignore = [
# BLE001 (catch blind `Exception`): this package processes user-supplied
# image/video/audio batches through third-party and native tooling
# (ffmpeg subprocesses, opencv, torch/CUDA, spacy, the openai SDK). A
# single malformed input must not abort an entire batch job, so failures
# around these external calls are deliberately caught broadly and
# reported via `warnings.warn` with the original exception message,
# rather than the batch crashing outright. Narrowing each catch to a
# specific exception type would mean guessing at unstable third-party
# exception hierarchies without real benefit.
"BLE001",
]