-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (69 loc) · 2.32 KB
/
pyproject.toml
File metadata and controls
75 lines (69 loc) · 2.32 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
[project]
name = "iscc-schema"
version = "0.5.0"
description = "ISCC - JSON-LD Metadata and OpenAPI Service Descriptions"
authors = [{ name = "Titusz", email = "tp@py7.de" }]
requires-python = ">=3.10,<3.15"
readme = "README.md"
license = "Apache-2.0"
keywords = [
"iscc",
"identifier",
"media",
"content",
"hash",
"blockchain",
"similarity",
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"pydantic>=2",
"jcs>=0.2",
]
[project.urls]
Homepage = "https://iscc.codes"
Repository = "https://github.com/iscc/iscc-schema"
Documentation = "https://schema.iscc.codes/"
Changelog = "https://schema.iscc.codes/changelog"
"Bug Tracker" = "https://github.com/iscc/iscc-schema/issues"
[dependency-groups]
dev = [
"pytest",
"datamodel-code-generator",
"poethepoet",
"black",
"zensical>=0.0.21",
"PyLD",
"requests",
]
[tool.black]
line-length = 100
target-version = ['py310']
preview = true
[tool.poe.tasks]
update = { cmd = "uv sync --upgrade", help = "Update project dependencies"}
formatyaml = { script = "tools.format_yaml:reformat", help = "Reformat yaml files"}
buildcode = { script = "tools.build_code:build", help = "Build code for API models"}
formatcode = { cmd = "black .", help = "Code style formating with black" }
buildterms = { script = "tools.build_terms:build", help = "Build markdown for terms" }
buildschema = { script = "tools.build_json_schema:build", help = "Generate JSON Schema" }
buildcontext = { script = "tools.build_json_ld_context:build", help = "Generate JSON-LD Context" }
builddocs = { script = "tools.build_docs:build", help = "Copy README.md to docs/index.md" }
test = { cmd = "pytest", help = "Run tests"}
all = ["formatyaml", "buildcode", "buildterms", "buildcontext", "buildschema", "formatcode", "builddocs", "test"]
docs-serve = { cmd = "zensical serve", help = "Serve documentation locally" }
docs-build.sequence = [
{ cmd = "zensical build" },
{ cmd = "python tools/gen_llms_full.py" },
]
docs-build.help = "Build documentation site"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"