Skip to main content

Schiebung Rerun - Python Bindings

Python bindings for schiebung's Rerun visualization adapter — every transform you push is bulk-logged to a Rerun recording stream so you can visualize the graph live.

Installation

pip install schiebung-rerun

Quick Start

import time
from schiebung_rerun import RerunBufferTree, StampedIsometry, TransformType

# application_id, recording_id, timeline name, publish_static_transforms.
# Spawns a Rerun viewer by default; pass spawn=False (optionally with
# connect_addr="rerun+http://host:port/proxy") to connect to one that is
# already running instead.
tree = RerunBufferTree("my_app", "recording_1", "stable_time", True)

# stamp accepts int (ns) or float (s).
transform = StampedIsometry([1.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], time.time())

# Updates go through tree.buffer; the underlying observer logs each batch to Rerun.
tree.buffer.update("world", "robot", transform, TransformType.Dynamic)
tree.buffer.update_batch([("world", "robot", transform, TransformType.Dynamic)])

StampedIsometry, BufferTree, TransformType, TfError and UrdfLoader are re-exported from the schiebung package — they are the same types, so values pass freely between the two packages (schiebung_rerun.StampedIsometry is schiebung.StampedIsometry).

Sharing an existing Rerun recording

Use from_recording when Schiebung transforms and regular Python Rerun logs must share the same sink. The supplied rerun.RecordingStream owns the sink and its lifecycle, so only one writer opens the output file:

import rerun as rr
import schiebung
from schiebung_rerun import RerunObserver

rec = rr.RecordingStream("my_app", recording_id="recording_1")
rec.set_sinks(rr.FileSink("recording.rrd"))

buffer = schiebung.BufferTree()
buffer.register_observer(
    RerunObserver.from_recording(rec, "stable_time", True)
)

with rec:  # finalizes the file sink on exit
    rec.log("points", rr.Points3D([[1.0, 2.0, 3.0]]))
    # buffer.update(...) logs transforms into the same recording and file.

RerunBufferTree.from_recording(rec, timeline, publish_static_transforms) is the equivalent convenience constructor. The existing constructors remain the all-Rust path and continue to support Schiebung's sinks=[...] descriptors.

Tuning the recording stream

RerunBufferTree / RerunObserver take an optional batcher_config — a rerun.ChunkBatcherConfig (including its DEFAULT / LOW_LATENCY / ALWAYS / NEVER presets) controlling the chunk-batcher flush thresholds:

import rerun as rr
tree = RerunBufferTree("my_app", "recording_1", "stable_time", True,
                       batcher_config=rr.ChunkBatcherConfig.LOW_LATENCY())

The RERUN_FLUSH_TICK_SECS / RERUN_FLUSH_NUM_BYTES / RERUN_FLUSH_NUM_ROWS / RERUN_CHUNK_MAX_ROWS_IF_UNSORTED environment variables still override it.

Documentation

Full documentation: https://maximaerz.github.io/schiebung/ · API reference: docs.rs/schiebung-rerun

Metadata

Release files for schiebung-rerun 0.5.2

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

Source distribution (sdist)

Source distribution for schiebung-rerun 0.5.2
File Size Uploaded Provenance Actions
schiebung_rerun-0.5.2.tar.gz 159.1 kB Without provenance Details for schiebung_rerun-0.5.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for schiebung-rerun 0.5.2
File Interpreter ABI Platform Actions
schiebung_rerun-0.5.2-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details for schiebung_rerun-0.5.2-cp312-abi3-win_amd64.whl
schiebung_rerun-0.5.2-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 abi3 Linux glibc 2.17+ x86-64 Details for schiebung_rerun-0.5.2-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
schiebung_rerun-0.5.2-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details for schiebung_rerun-0.5.2-cp312-abi3-macosx_11_0_arm64.whl

Total release size: 12.0 MB

Release files / schiebung_rerun-0.5.2.tar.gz

Download URL schiebung_rerun-0.5.2.tar.gz
Size 159.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4f1e17f3cce435c74ded59e289b6339dba0ce940d9837515ab1801fb665dce0d
BLAKE2b-256 checksum
How to use checksums
0c6f3d991af86d89a1f5ab5e0c3f7e9ca4b6db7b42c4cbbcb867a71e6edf3915
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / schiebung_rerun-0.5.2-cp312-abi3-win_amd64.whl

Download URL schiebung_rerun-0.5.2-cp312-abi3-win_amd64.whl
Size 3.5 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
8e2790a888bccdc7ddc1ce825187926b791c8e75c9767b1c97ccb90e20bb33af
BLAKE2b-256 checksum
How to use checksums
20964c867ae66cf6440d579d35d89e476c91711a0844d0c488e4c455a01efcba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / schiebung_rerun-0.5.2-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL schiebung_rerun-0.5.2-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.7 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
df71c64050d03a419139a913918abc44bbc7dfa08f448927852fb09319613ef2
BLAKE2b-256 checksum
How to use checksums
5d9571b646f5f1c50c7bac8e08014c97f2611b348930b9b6de1c3d33cb8a5652
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / schiebung_rerun-0.5.2-cp312-abi3-macosx_11_0_arm64.whl

Download URL schiebung_rerun-0.5.2-cp312-abi3-macosx_11_0_arm64.whl
Size 3.6 MB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a7393049d3f8607950b39dab05797e4d6d10d1a1c2f04f4faccd4d87bb19737a
BLAKE2b-256 checksum
How to use checksums
847430e642e9a0dc96338d5197df3c06b758aa9a90d1763e9785a9dfe39f681a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for schiebung-rerun 0.5.2

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.

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