chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:05:14 +08:00
commit 2a547be7fe
7904 changed files with 1000926 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
<!--[metadata]
title = "Template"
tags = ["Human case", "Comma", "Separated", "ACRONYM", "Respect brand names", "Hugging Face", "Coca-Cola"]
thumbnail = "https://static.rerun.io/template/f53a939567970272cf7c740f1efe5c72f20de7ab/480w.png"
thumbnail_dimensions = [480, 359]
# channel = "main" # uncomment if this example can be run fast an easily
# include_in_manifest = true # uncomment if this example should be on the Viewer homescreen
-->
This is an example template. It is not a real example. You can duplicate the directory and use it as a starting point for writing a real example.
Put a short description at the top, like this.
<!--
Place a screenshot in place of this comment
Use `pixi run upload-image --help` for instructions.
Make sure to also update the `thumbnail` section in the metadata.
-->
## Used Rerun types
[`Image`](https://www.rerun.io/docs/reference/types/archetypes/image), …
## Optional details here
## Run the code
```bash
pip install -e examples/python/template
python -m template
```
+18
View File
@@ -0,0 +1,18 @@
[project]
name = "template"
version = "0.1.0"
# requires-python = "<3.12" # any python constraints for this example, beyond the Rerun supported versions
readme = "README.md"
dependencies = ["rerun-sdk"]
[project.scripts]
template = "template:main"
[tool.rerun-example]
skip = true
# extra-args = [] # extra arguments to pass when running the example on CI (str | [str])
# exclude-platform = [] # platforms where this example doesn't run (str | [str])
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
+24
View File
@@ -0,0 +1,24 @@
#!/usr/bin/env python3
"""Example template."""
from __future__ import annotations
import argparse
import rerun as rr # pip install rerun-sdk
def main() -> None:
parser = argparse.ArgumentParser(description="Example of using the Rerun visualizer")
rr.script_add_args(parser)
args = parser.parse_args()
rr.script_setup(args, "rerun_example_my_example_name")
# … example code
rr.script_teardown(args)
if __name__ == "__main__":
main()