7 releases (4 breaking)

0.7.0 Jan 9, 2025
0.6.0 Dec 2, 2024
0.5.0 Nov 28, 2024
0.4.2 Nov 23, 2024
0.3.0 Nov 12, 2024

#328 in Science

Download history 38/week @ 2024-11-06 280/week @ 2024-11-13 138/week @ 2024-11-20 233/week @ 2024-11-27 60/week @ 2024-12-04 20/week @ 2024-12-11 128/week @ 2025-01-08

128 downloads per month

BSD-3-Clause

185KB
3.5K SLoC

Sidecar

A lightweight viewer of Jupyter output to run next to your terminal session.

sidecar view from jupyter console

Installation

cargo install sidecar

Usage

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

Dependencies

~24–65MB
~1M SLoC