-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (67 loc) · 1.57 KB
/
pyproject.toml
File metadata and controls
78 lines (67 loc) · 1.57 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
[project]
name = "Perception"
dynamic = ["version"]
description = "Perception provides flexible, well-documented, and comprehensively tested tooling for perceptual hashing research, development, and production use."
authors = [{ name = "Thorn", email = "info@wearethorn.org" }]
license = "Apache-2.0"
readme = "README.md"
requires-python = ">=3.10,<4.0"
dependencies = [
"Cython>=3.0.0,<4.0.0",
"numpy>=1.26.4,<3.0.0",
"opencv-contrib-python-headless>=4.10.0,<5.0.0",
"pandas",
"Pillow",
"pywavelets>=1.5.0,<2.0.0",
"validators>=0.22.0,<1.0.0",
"rich>=13.7.0,<14.0.0",
"scipy",
"tqdm>=4.67.1,<5.0.0",
]
[project.optional-dependencies]
benchmarking = [
"matplotlib",
"albumentations>=2.0.8,<3.0.0",
"tabulate",
"scikit-learn",
"ffmpeg-python",
]
matching = ["aiohttp", "python-json-logger"]
experimental = ["networkit>=11.1,<12.0.0", "faiss-cpu>=1.8.0,<2.0.0"]
pdq = ["pdqhash>=0.2.7,<0.3.0"]
[tool.poetry]
version = "0.0.0"
[tool.poetry.group.dev.dependencies]
black = "^24"
coverage = "*"
ipython = "*"
mypy = "*"
pandas-stubs = "*"
pre-commit = "*"
pytest = "*"
pytest-cov = "*"
ruff = "*"
types-pillow = "*"
types-tqdm = "*"
twine = "*"
albumentations = "^2.0.8"
[tool.poetry.build]
script = "build.py"
generate-setup-file = true
[tool.mypy]
exclude = ["/tests/"]
check_untyped_defs = true
ignore_missing_imports = true
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
[build-system]
requires = [
"poetry-core",
"poetry-dynamic-versioning",
"numpy",
"Cython",
"setuptools",
"wheel",
]
build-backend = "poetry_dynamic_versioning.backend"