-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (80 loc) · 2.11 KB
/
pyproject.toml
File metadata and controls
90 lines (80 loc) · 2.11 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
[project]
name = "iscc-sci"
version = "0.2.0"
description = "ISCC - Semantic Code Image"
authors = [{ name = "Titusz", email = "tp@py7.de" }]
requires-python = ">=3.11"
readme = "README.md"
license = "Apache-2.0"
keywords = [
"iscc",
"semantic",
"media",
"hash",
"similarity",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Multimedia",
"Topic :: Multimedia :: Graphics",
"Topic :: Scientific/Engineering :: Image Recognition",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"pillow",
"onnxruntime",
"loguru",
"blake3",
"platformdirs",
"pydantic-settings",
]
[project.optional-dependencies]
gpu = ["onnxruntime-gpu"]
[project.urls]
Homepage = "https://iscc.codes"
Repository = "https://github.com/iscc/iscc-sci"
[project.scripts]
iscc-sci = "iscc_sci.cli:main"
[dependency-groups]
test = [
"pytest",
"coverage",
"pytest-cov",
"iscc-samples",
]
dev = [
"poethepoet",
"ruff",
]
docs = [
"mdformat-gfm",
"mdformat-gfm-alerts",
"mdformat-frontmatter",
]
[tool.uv]
default-groups = "all"
[tool.uv.build-backend]
module-root = ""
[build-system]
requires = ["uv_build"]
build-backend = "uv_build"
[tool.ruff]
line-length = 100
[tool.ruff.format]
line-ending = "lf"
[tool.poe.tasks]
format-code = { cmd = "ruff format", help = "Code style formating with ruff" }
format-md = { cmd = "mdformat --wrap 100 --end-of-line lf README.md", help = "Markdown formating with mdformat" }
test = { cmd = "pytest --cov=iscc_sci --cov-fail-under=100", help = "Run tests with coverage" }
all = ["format-code", "format-md", "test"]