Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
221 lines (200 loc) · 5.4 KB
/
Copy pathpyproject.toml
File metadata and controls
221 lines (200 loc) · 5.4 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
# SPDX-FileCopyrightText: 2025-2026 Miko Parkkinen
# SPDX-License-Identifier: MIT
[build-system]
requires = ["setuptools==82.0.1"]
build-backend = "setuptools.build_meta"
[project]
name = "metriplane"
dynamic = ["version"]
description = "Turn recorded workcell state into incident reports, verified evidence, and repeatable robotics regression checks."
readme = "README.md"
requires-python = ">=3.12,<3.14"
license = "MIT"
license-files = ["LICENSE", "NOTICE"]
authors = [
{ name = "Miko Parkkinen" },
]
keywords = [
"robotics",
"robotics testing",
"incident analysis",
"replay",
"regression testing",
"reproducibility",
"workcells",
"simulation",
"digital twins",
"industrial automation",
"physical observability",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Manufacturing",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Testing",
"Topic :: Scientific/Engineering",
]
dependencies = [
"numpy>=1.26",
"opencv-contrib-python-headless>=4.8",
"PyYAML>=6.0",
"websockets>=12.0",
"pydantic>=2.0",
]
[dependency-groups]
dev = [
"build==1.5.0",
"mkdocs==1.6.1",
"mypy==1.20.2",
"playwright==1.62.0",
"pytest==9.0.3",
"ruff==0.16.2",
"setuptools==82.0.1",
"twine==6.2.0",
"types-PyYAML==6.0.12.20260724",
]
[project.urls]
Homepage = "https://www.metriplane.com/"
Documentation = "https://github.com/Miko997/metriplane/blob/main/docs/README.md"
Repository = "https://github.com/Miko997/metriplane"
Issues = "https://github.com/Miko997/metriplane/issues"
Changelog = "https://github.com/Miko997/metriplane/blob/main/CHANGELOG.md"
Support = "https://github.com/Miko997/metriplane/blob/main/SUPPORT.md"
Roadmap = "https://github.com/Miko997/metriplane/blob/main/ROADMAP.md"
"Research Artifact v0.2.0" = "https://doi.org/10.5281/zenodo.20736619"
"Research Preprint" = "https://doi.org/10.2139/ssrn.7166858"
[project.optional-dependencies]
gpu-cuda12x = [
"cupy-cuda12x>=13.0.0; platform_system=='Linux'",
]
gpu-cuda13x = [
"cupy-cuda13x>=13.0.0; platform_system=='Linux'",
# Optional but makes CUDA13 usable without system toolkit:
"cuda-toolkit>=13.0.0; platform_system=='Linux'",
]
# Keep gpu as a “meta” that doesn't force the wrong CUDA version:
gpu = []
plots = [
"pandas>=2.2",
"matplotlib>=3.8",
]
[tool.uv]
required-version = "==0.12.0"
[tool.ruff]
line-length = 100
target-version = "py312"
exclude = ["adapters", "evidence", "metriplane/atlas", "proofs"]
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F"]
[tool.mypy]
python_version = "3.12"
strict = true
files = ["metriplane"]
exclude = "^metriplane/atlas/"
[[tool.mypy.overrides]]
module = ["metriplane.atlas", "metriplane.atlas.*"]
follow_imports = "skip"
[tool.pytest]
testpaths = ["tests"]
addopts = ["-p", "no:ament_pep257", "-p", "no:ament_flake8", "-p", "no:ament_copyright", "-p", "no:ament_xmllint", "-p", "no:ament_lint"]
strict_config = true
strict_markers = true
strict_xfail = true
filterwarnings = ["error"]
[tool.metriplane.testing]
warning_allowlist_version = 1
warning_allowlist = []
[tool.setuptools]
include-package-data = true
[tool.setuptools.cmdclass]
build_py = "tools.release_artifacts.BoundBuildPy"
sdist = "tools.release_artifacts.BoundSdist"
[tool.setuptools.dynamic]
version = { attr = "metriplane.__version__" }
[tool.setuptools.packages.find]
where = ["."]
include = [
"integrations",
"integrations.isaac*",
"integrations.omniverse*",
"metriplane",
"metriplane._local_http",
"metriplane._version",
"metriplane.archive_safety",
"metriplane.cli",
"metriplane.launcher",
"metriplane.logging",
"metriplane.metrics",
"metriplane.models",
"metriplane.overlay",
"metriplane.paths",
"metriplane.public_export",
"metriplane.publication",
"metriplane.release_control",
"metriplane.run",
"metriplane.run_fusion",
"metriplane.run_ids",
"metriplane.schema",
"metriplane.state",
"metriplane.strict_parsing",
"metriplane.tracking",
"metriplane.video_overlay",
"metriplane.zone_analytics",
"metriplane.zones",
"metriplane.assistant*",
"metriplane.atlas*",
"metriplane.backends*",
"metriplane.calibration*",
"metriplane.camera*",
"metriplane.compute*",
"metriplane.config*",
"metriplane.contracts*",
"metriplane.counterfactuals*",
"metriplane.demo*",
"metriplane.exporters*",
"metriplane.external_sources*",
"metriplane.fleet*",
"metriplane.forecasting*",
"metriplane.fusion*",
"metriplane.mapping*",
"metriplane.observability*",
"metriplane.pipeline*",
"metriplane.preview*",
"metriplane.provenance*",
"metriplane.recording*",
"metriplane.replay*",
"metriplane.resources*",
"metriplane.runner*",
"metriplane.sentinel*",
"metriplane.streaming*",
"metriplane.system*",
"metriplane.testing*",
"metriplane.time*",
"metriplane.trace*",
]
exclude = ["integrations.ros2*"]
[tool.setuptools.package-data]
"metriplane" = [
"build-info.json",
]
"metriplane.demo" = [
"assets/*.jsonl",
"assets/assembly_cell/*.yaml",
"assets/assembly_cell/*.csv",
]
"metriplane.resources" = [
"configs/*.yaml",
"configs/atlas/*.yaml",
"dashboard/*.css",
"dashboard/*.html",
"dashboard/*.js",
"dashboard/*.json",
"dashboard/icons/*.svg",
]
[project.scripts]
metriplane = "metriplane.cli:main"
metriplane-run = "metriplane.run:main"