Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Rerun

The data layer for physical AI

The data primitives to build, understand, and improve your data loop. Designed for multi-rate, multimodal data, from the first recording to massive scale.

The open source Rerun Python SDK provides a single toolchain to log, transform, query, view, and train on multi-rate, multimodal data.

Install

pip install rerun-sdk

The Python module is called rerun, while the package published on PyPI is rerun-sdk.

See Install Rerun for the Viewer and other SDK languages.

We also provide a Jupyter widget for interactive data visualization in Jupyter notebooks:

pip install rerun-sdk[notebook]

Example

import numpy as np
import rerun as rr

rr.init("rerun_example_app", spawn=True)

positions = np.vstack([xyz.ravel() for xyz in np.mgrid[3 * [slice(-5, 5, 10j)]]]).T
colors = np.vstack([rgb.ravel() for rgb in np.mgrid[3 * [slice(0, 255, 10j)]]]).astype(np.uint8).T

rr.log("points3d", rr.Points3D(positions, colors=colors))

Resources

Logging and viewing in different processes

The Viewer and Python logger can run in separate processes. Start the Viewer in one terminal:

python3 -m rerun

In a second terminal, run the example with the --connect option:

python3 examples/python/plots/plots.py --connect

Note that SDK and Viewer can run on different machines! See SDK operating modes for connection options.

Building Rerun from source

Rerun uses pixi for development tools and tasks. Install pixi, clone the repository, and run these commands from its rerun/ directory.

Build and install a development version of the Python SDK:

pixi run py-build

For an optimized build, use:

pixi run py-build-release

Run an example in the development environment:

pixi run uvpy examples/python/minimal/minimal.py

Build a wheel for manual installation:

pixi run py-build-wheel

See BUILD.md for all Viewer and SDK build options.

Installing a pre-release

Development wheels are built for every commit on the main branch:

uv pip install --index https://build.rerun.io/version/main/simple --reinstall-package rerun-sdk rerun-sdk  # latest commit on main
uv pip install --index https://build.rerun.io/commit/<7-char-sha>/simple --reinstall-package rerun-sdk rerun-sdk

--reinstall-package replaces a rerun-sdk that is already installed, even when it has the same version. The main branch can be unstable, so use these wheels at your own risk.

Running Python unit tests

Run the full Python test suite:

pixi run py-test

Build the SDK and run one test file:

pixi run py-build && pixi run uvpy -m pytest rerun_py/tests/unit/test_tensor.py

Profiling the Python SDK

Install puffin_viewer, then set RERUN_PUFFIN=1 when you start a Python program:

cargo install puffin_viewer
RERUN_PUFFIN=1 pixi run uvpy your_script.py

Save a recording from the viewer for offline analysis (use the investigate-puffin skill in .claude/skills/).

For the Viewer side of things, and for tracking down streaming latency, see Diagnose latency and performance.

Metadata

Release files for rerun-sdk 0.41.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for rerun-sdk 0.41.0rc1
File Actions
rerun_sdk-0.41.0rc1-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for rerun_sdk-0.41.0rc1-cp311-abi3-win_amd64.whl
rerun_sdk-0.41.0rc1-cp311-abi3-manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64 Details for rerun_sdk-0.41.0rc1-cp311-abi3-manylinux_2_28_x86_64.whl
rerun_sdk-0.41.0rc1-cp311-abi3-manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.28+ ARM64 Details for rerun_sdk-0.41.0rc1-cp311-abi3-manylinux_2_28_aarch64.whl
rerun_sdk-0.41.0rc1-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for rerun_sdk-0.41.0rc1-cp311-abi3-macosx_11_0_arm64.whl

Total release size: 637.7 MB

Release files / rerun_sdk-0.41.0rc1-cp311-abi3-win_amd64.whl

Download URL rerun_sdk-0.41.0rc1-cp311-abi3-win_amd64.whl
Size 148.4 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
7464ecffc78cda292a15a016c1d8c0b417c6023d3ee8c4a9207932c2cc6642cc
BLAKE2b-256 checksum
How to use checksums
646b06a53643c38bcdb8d237077b49243727c3579ad5bd1c6774d324dedef0b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.14.1

Release files / rerun_sdk-0.41.0rc1-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL rerun_sdk-0.41.0rc1-cp311-abi3-manylinux_2_28_x86_64.whl
Size 170.5 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
e63e39b75847d9ad00de02a1f73ce5d03d1d3569adbbe62cd148895f1638ffa1
BLAKE2b-256 checksum
How to use checksums
871e716245028bc8a13c15c93865dbcbe9a9554153c7d1836fea1ef9554cf416
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.14.1

Release files / rerun_sdk-0.41.0rc1-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL rerun_sdk-0.41.0rc1-cp311-abi3-manylinux_2_28_aarch64.whl
Size 165.8 MB
Tags CPython 3.11 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
f67b871c87010f1e40a0f7fe9b6362295f10545e6407c73ea3f6a6808d736367
BLAKE2b-256 checksum
How to use checksums
d5837b51ea30334313318db3468b321d7d18e2d7d6218a76adf60d1a4c963464
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.14.1

Release files / rerun_sdk-0.41.0rc1-cp311-abi3-macosx_11_0_arm64.whl

Download URL rerun_sdk-0.41.0rc1-cp311-abi3-macosx_11_0_arm64.whl
Size 152.9 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
02556d646ab3201ab1a1282c188e3f4f2305c36e6689ba92588a85175d8881ee
BLAKE2b-256 checksum
How to use checksums
0c16cb7c1915db398caa7bf8d0482a3ade36b59265fcd673377a11b96ed2d2a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.14.1

Security for rerun-sdk 0.41.0rc1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page