dreamscale-pyrealsense2
pyrealsense2 for Linux aarch64 (NVIDIA Jetson and other arm64 boards), built
with librealsense's RSUSB backend. Install it and import pyrealsense2 as usual.
The official aarch64 wheels use the V4L backend, which needs a kernel patched for RealSense cameras. Stock Jetson kernels are not patched. RSUSB talks to the cameras over USB with libusb instead, so it works on an unpatched kernel.
This is the Python module from unmodified librealsense source, built by Dreamscale
Labs for the dreamscale SDK, which installs it on aarch64 Linux. It is not
affiliated with or endorsed by RealSense or Intel. librealsense is Apache-2.0
licensed; its LICENSE and NOTICE.md ship in this wheel.
| librealsense | 2.58.4, pinned to its release commit |
| Backend | RSUSB (libusb, linked in statically) |
| Platform | Linux aarch64, glibc 2.28 or newer (manylinux_2_28) |
| Python | 3.11 to 3.14 |
| Modules | pyrealsense2 only |
Do not install it alongside the official pyrealsense2 package; both provide the
same module.
USB access
RSUSB opens cameras through /dev/bus/usb, which needs RealSense's udev rules. The
rules ship inside the package. Install them once per machine, then replug the
cameras:
RULES="$(python -c 'import pathlib, pyrealsense2; print(pathlib.Path(pyrealsense2.__file__).with_name("99-realsense-libusb.rules"))')"
sudo cp "$RULES" /etc/udev/rules.d/
sudo udevadm control --reload-rules && sudo udevadm trigger
Building and releasing
These notes are for maintainers of Dreamscale-Labs/mvp, where the package lives
in mvp/realsense-wheel/.
build.sh builds one wheel inside a quay.io/pypa/manylinux_2_28_<arch> container
and smokes it in a clean environment:
docker run --rm -v "$PWD/mvp/realsense-wheel:/work:ro" -v "$PWD/dist:/out" \
quay.io/pypa/manylinux_2_28_aarch64 /work/build.sh 3.12 /out
The same script also builds on x86_64 with the x86_64 image, which tests a change without an arm64 machine; only aarch64 wheels are published.
The realsense-wheel workflow builds and smokes all four wheels on pull requests
that touch this directory. To release:
- Set
versioninpyproject.toml. A new librealsense release also updateslibrealsense-tagandlibrealsense-commit; a rebuild of the same release uses a post-release (2.58.4.post1). - Merge to
main, then push the tagrealsense-v<version>. The workflow publishes through PyPI trusted publishing, from thepypi-realsenseenvironment. - Point the SDK's
realsenseextra at the new version.
Metadata
Release files for dreamscale-pyrealsense2 2.58.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| dreamscale_pyrealsense2-2.58.4-cp314-cp314-manylinux_2_28_aarch64.whl | CPython 3.14 | CPython 3.14 | Linux glibc 2.28+ ARM64 | Details |
| dreamscale_pyrealsense2-2.58.4-cp313-cp313-manylinux_2_28_aarch64.whl | CPython 3.13 | CPython 3.13 | Linux glibc 2.28+ ARM64 | Details |
| dreamscale_pyrealsense2-2.58.4-cp312-cp312-manylinux_2_28_aarch64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.28+ ARM64 | Details |
| dreamscale_pyrealsense2-2.58.4-cp311-cp311-manylinux_2_28_aarch64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.28+ ARM64 | Details |
Total release size: 22.9 MB
Release files / dreamscale_pyrealsense2-2.58.4-cp314-cp314-manylinux_2_28_aarch64.whl
| Download URL | dreamscale_pyrealsense2-2.58.4-cp314-cp314-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 5.7 MB |
| Tags | CPython 3.14 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
0af5164be0a6b5bb5d89fd3e5494b1af6a1ef1c1314081abd1bee8e43a2899f4
|
|
BLAKE2b-256 checksum How to use checksums |
148734d54b6fe5bf3c8355a66a09c0503de2c7343c3cde90e69df7b4383806ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","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 / dreamscale_pyrealsense2-2.58.4-cp313-cp313-manylinux_2_28_aarch64.whl
| Download URL | dreamscale_pyrealsense2-2.58.4-cp313-cp313-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 5.7 MB |
| Tags | CPython 3.13 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
ddd6b29b6ccfa3e0190b5a21082c1e719eb8d34c09ff278f123f6323ceefc1a5
|
|
BLAKE2b-256 checksum How to use checksums |
8b6b643640316251466ef9e48cdce83960083aa582aad5c565caa6aa64166595
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","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 / dreamscale_pyrealsense2-2.58.4-cp312-cp312-manylinux_2_28_aarch64.whl
| Download URL | dreamscale_pyrealsense2-2.58.4-cp312-cp312-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 5.7 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
63c7b6913fbaec37a8a94f0873a4aa32ee34586aaf7488c849ca15e4b4c23414
|
|
BLAKE2b-256 checksum How to use checksums |
c17c8a3c36087a0b81cf8d2c6f4f85f04030f84464237a414079da9e5a15ddcd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","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 / dreamscale_pyrealsense2-2.58.4-cp311-cp311-manylinux_2_28_aarch64.whl
| Download URL | dreamscale_pyrealsense2-2.58.4-cp311-cp311-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 5.7 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
c90a4ca7220a9347521c9f247925c58489c486a7688ea766b8926ba69f10e0a8
|
|
BLAKE2b-256 checksum How to use checksums |
7aec464b615fa16dc4a6367d508ea54ab65426f4ff200072ca0e2a9336755398
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","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}
|