rerun icon indicating copy to clipboard operation
rerun copied to clipboard

New API for sending files without a recording stream

Open Wumpf opened this issue 8 months ago • 2 comments

Related

  • Related to #9303
    • This here is an easy more straight forward alternative

What

Often it's useful to open a file without creating a recording. In particular for...

  • loading an rbl without yet setting up anything else
  • loading an rrd
  • oneshot visualization, i.e. anything you'd do with rerun <my file>

Today this requires creating a recording stream which always willl create a new recording that clutters the viewer.

Usage example:

viewer = rr.notebook.Viewer(width=1100, height=800, url=dataset.partition_url(first_episode))
viewer.send_file("droid.rbl")
viewer.display()

Note that in particular for the notebook this works without any existing sinks.

Draft:

  • [ ] check with teammates if we want it in this form - interaction with existing sinks is a bit strange
  • [ ] add example / test
  • [ ] expose to regular python api, not just notebook?
  • [ ] improve docs

Wumpf avatar Apr 05 '25 20:04 Wumpf

Web viewer built successfully. If applicable, you should also test it:

  • [ ] I have tested the web viewer
Result Commit Link Manifest
57122c7 https://rerun.io/viewer/pr/9506 +nightly +main

Note: This comment is updated whenever you push a commit.

github-actions[bot] avatar Apr 05 '25 20:04 github-actions[bot]

We're going with https://github.com/rerun-io/rerun/pull/9804 instead for 0.23.1

emilk avatar Apr 25 '25 07:04 emilk

shelving this indefinitely

Wumpf avatar Jun 16 '25 08:06 Wumpf