Crates.io | sidecar |
lib.rs | sidecar |
version | 0.8.0 |
created_at | 2024-11-12 22:16:02.207742+00 |
updated_at | 2025-09-19 21:34:56.013099+00 |
description | Sidecar jupyter outputs |
homepage | |
repository | https://github.com/runtimed/runtimed |
max_upload_size | |
id | 1445652 |
size | 122,444 |
A lightweight viewer of Jupyter output to run next to your terminal session.
cargo install sidecar
In a jupyter console
session with Python, run:
import subprocess
from ipykernel.connect import get_connection_file
connection_file = get_connection_file()
sidecar = subprocess.Popen(
["sidecar", "--quiet", connection_file],
stdout=subprocess.PIPE, stderr=subprocess.PIPE
)
That will open a separate window showing the output of your Jupyter session.
It even works with anywidgets like quak
!
%load_ext quak
import polars as pl
df = pl.read_parquet(
"https://github.com/uwdata/mosaic/raw/main/data/athletes.parquet"
)
df