-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (79 loc) · 2.31 KB
/
pyproject.toml
File metadata and controls
86 lines (79 loc) · 2.31 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
[project]
name = "twinspect"
dynamic = ["version"]
description = ""
authors = [{ name = "Titusz", email = "tp@py7.de" }]
requires-python = ">=3.11,<4"
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"gdown>=5.0.0",
"remotezip",
"datamodel-code-generator",
"poethepoet",
"rich",
"loguru",
"python-dotenv",
"pydub",
"codetiming",
"blake3",
"pandas",
"hexhamming",
"matplotlib",
"more-itertools",
"httpx",
"typer",
"faiss-cpu",
"ruamel-yaml",
"mkdocs-material",
"mkdocs-git-revision-date-localized-plugin",
"mkdocs-glightbox",
"jinja2",
"jmespath",
"mdformat-mkdocs[recommended]",
"iscc-sdk==0.9.1",
"hishel>=1.1.8",
"openapi-spec-validator",
"ruff",
"pillow-avif-plugin",
"iscc-sci>=0.2.0",
"iscc-sct>=0.1.0",
"onnxruntime-gpu>=1.23.2",
"usearch>=2.23.0",
"rapidfuzz>=3.0.0",
"iscc-core>=1.3.0",
]
[project.scripts]
twinspect = "twinspect.__main__:app"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "twinspect/__init__.py"
[tool.datamodel-codegen]
input = "twinspect/schema.yml"
output = "twinspect/schema.py"
input-file-type = "openapi"
encoding = "UTF-8"
disable-timestamp = true
target-python-version = "3.11"
formatters = ["ruff-format", "ruff-check"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.format]
quote-style = "double"
[tool.poe.tasks]
format-yaml = { script = "twinspect.dev:format_yml", help = "Format all yaml files"}
validate-schema = { cmd = "openapi-spec-validator twinspect/schema.yml", help = "Validate OpenAPI Schema"}
generate-code = { cmd = "datamodel-codegen", help="Build code from OpenAPI Schema"}
format-code = { cmd = "ruff format .", help = "Code style formatting with ruff" }
format-md = { script = "twinspect.dev:format_md", help = "Markdown formating with mdformat" }
fix-line-endings = { script = "twinspect.dev:fix_line_endings", help = "Convert line endings to LF"}
all = ["format-yaml", "validate-schema", "generate-code", "format-code", "format-md", "fix-line-endings"]