We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f3e301 commit 014a9d4Copy full SHA for 014a9d4
2 files changed
src/App.tsx
@@ -12,6 +12,10 @@ const options = [
12
label: "structure from motion",
13
value: "https://app.rerun.io/version/0.20.3/examples/structure_from_motion.rrd",
14
},
15
+ {
16
+ label: "grpc",
17
+ value: "rerun+http://127.0.0.1:9876/proxy",
18
+ },
19
];
20
21
export default function App() {
temp.py
@@ -0,0 +1,26 @@
1
+# /// script
2
+# requires-python = ">=3.10"
3
+# dependencies = [
4
+# "rerun-sdk",
5
+# ]
6
+# ///
7
+
8
+import rerun as rr
9
+import time
10
11
+def main() -> None:
+ rr.init("rerun_example_react_grpc")
+ rr.serve_grpc()
+ doc = """
+ ### Hello from gRPC
+ """
+ rr.log("text", rr.TextDocument(doc))
+ while True:
22
+ time.sleep(1)
23
24
25
+if __name__ == "__main__":
26
+ main()
0 commit comments