-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
130 lines (116 loc) · 3.34 KB
/
pyproject.toml
File metadata and controls
130 lines (116 loc) · 3.34 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
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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "resolution_suggester"
version = "0.1.0"
description = "A tool for analyzing texture quality at different resolutions and suggesting optimal downsizing parameters"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "Roman Vishnyakov", email = "dev@romanvpx.xyz"}
]
maintainers = [
{name = "Roman Vishnyakov", email = "dev@romanvpx.xyz"}
]
keywords = ["image", "texture", "quality", "resolution", "analysis", "optimization"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Multimedia :: Graphics",
"Topic :: Scientific/Engineering :: Image Processing",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Utilities",
]
dependencies = [
"numba==0.61.2",
"numpy==2.1.3",
"opencv-python==4.11.0.86",
"pillow==11.3.0",
"pyexr==0.5.0",
"scikit-image~=0.25.2",
"pandas~=2.3.1",
"joblib~=1.5.0",
"scikit-learn~=1.7.1",
"tqdm~=4.67.1",
"PyWavelets~=1.8.0",
"torch~=2.8.0",
"rich~=14.1.0",
"torchmetrics~=1.8.0",
"matplotlib~=3.10.0",
"lpips~=0.1.4",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"pylint",
"isort",
"mypy",
"build",
]
[project.urls]
"Homepage" = "https://github.com/RomanVPX/resolution-suggester"
"Repository" = "https://github.com/RomanVPX/resolution-suggester"
"Issues" = "https://github.com/RomanVPX/resolution-suggester/issues"
"Documentation" = "https://github.com/RomanVPX/resolution-suggester/wiki"
[project.scripts]
resolution_suggester = "resolution_suggester.main:main"
res-suggest = "resolution_suggester.main:main"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
include = ["resolution_suggester*"]
[tool.isort]
line_length = 127
multi_line_output = 3
include_trailing_comma = true
use_parentheses = true
src_paths = ["src", "tests"]
skip = [".git", "__pycache__", "venv"]
known_first_party = ["resolution_suggester"]
[tool.pylint.main]
recursive = true
ignore = ["CVS", ".git", "__pycache__", "venv"]
[tool.pylint.format]
max-line-length = 127
[tool.pylint.messages_control]
disable = [
"C0111", # missing-docstring
"C0103", # invalid-name
"C0303", # trailing-whitespace
]
[tool.pylint.basic]
good-names = ["i", "j", "k", "ex", "Run", "_", "x", "y", "w", "h"]
[tool.mypy]
python_version = "3.13"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
strict_optional = true
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false
disallow_incomplete_defs = false
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-ra -q"
filterwarnings = [
"ignore::DeprecationWarning:sewar.*:"
]