-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
123 lines (109 loc) · 3.09 KB
/
pyproject.toml
File metadata and controls
123 lines (109 loc) · 3.09 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
[build-system]
requires = ["hatchling>=1.27,<2"]
build-backend = "hatchling.build"
[project]
name = "zpe-video"
version = "0.1.0"
description = "ZPE Video — perception receipts for AI pipelines. Deterministic, cross-writer-stable, CRC-protected binary records of what a detector+tracker saw in a video."
readme = "README.md"
requires-python = ">=3.11,<3.14"
license = "LicenseRef-Zer0pa-SAL-7.1"
authors = [
{name = "Zer0pa (Pty) Ltd", email = "architects@zer0pa.ai"},
]
keywords = [
"video",
"perception",
"receipts",
"provenance",
"c2pa",
"chain-of-custody",
"video-llm",
"object-memory",
"deterministic-binary",
"cross-writer-hash-stability",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Multimedia :: Video",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Security :: Cryptography",
]
# The core perception-receipt surface is deliberately zero-dependency —
# stdlib struct / zlib / hashlib only. This is part of the wedge: the
# format is implementable from the spec in <100 lines of any language.
dependencies = []
[project.optional-dependencies]
# Development and contribution
dev = [
"pytest>=8.0",
"pytest-cov>=4.1",
"ruff>=0.5",
]
# Producing receipts from raw video: needs detector + CV
producer = [
"numpy>=1.26,<2",
"opencv-python-headless>=4.10",
"ultralytics>=8.4",
"torch>=2.2",
]
# Research-harness internals (Wave-1 pipeline, legacy benchmarks)
research = [
"numpy>=1.26,<2",
"opencv-python-headless>=4.10",
]
# Reproducibility and receipt-core benchmark controls. These are not runtime
# dependencies of the core receipt package.
benchmark = [
"fastparquet>=2024.11",
"pandas>=2.2,<3",
"pyarrow>=17",
]
# Everything a contributor likely wants
all = [
"zpe-video[dev,producer,research,benchmark]",
]
[project.urls]
Homepage = "https://github.com/Zer0pa/ZPE-Video"
Repository = "https://github.com/Zer0pa/ZPE-Video"
Issues = "https://github.com/Zer0pa/ZPE-Video/issues"
Changelog = "https://github.com/Zer0pa/ZPE-Video/blob/main/CHANGELOG.md"
Documentation = "https://github.com/Zer0pa/ZPE-Video/tree/main/docs"
[tool.hatch.build.targets.wheel]
packages = ["src/zpe_video"]
[tool.hatch.build.targets.sdist]
include = [
"/CHANGELOG.md",
"/CITATION.cff",
"/LICENSE",
"/README.md",
"/docs",
"/examples",
"/proofs",
"/scripts",
"/src",
"/tests",
]
[tool.pytest.ini_options]
minversion = "8.0"
addopts = "-v --strict-markers"
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "UP"]
ignore = ["E501"] # line-length handled by formatter
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["B011"]