Registry / serialization / pymboot-rs

pymboot-rs

JSON →
library0.2.0pypypi✓ verified 82d ago

Python bindings for McuBoot implementation in Rust, providing high-performance communication with NXP MCU bootloader. Current version is 0.2.0, requires Python >=3.9. Release cadence is irregular as it's a new project.

pip install pymboot-rs
INSTALL
IMPORT
SIG · PYMBOOT-RS
P
pymboot-rs
serializationpythonv0.2.0
Install
1.8s avg
Import
Disk
22MB
Pass rate
5/ 10
Env Coverage5 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.2.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
build_error
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.8s · import 0.000s · 24MB
22MB installed
● package 22MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

McuBoot
import pymboot_rs
from pymboot_rs import McuBoot

Connect to an NXP MCU bootloader via USB HID, ping, and read flash.

from pymboot_rs import McuBoot, BootMode import os # Connect to device (e.g., USB HID) device = McuBoot(port='hid', baudrate=115200) # Ping the device print(device.ping()) # Read a flash region import sys data = device.read_memory(address=0x0, length=256) sys.stdout.buffer.write(data)
Debug
Known issues
gotchaThe library uses underscores in import (pymboot_rs) but the PyPI package name uses hyphens (pymboot-rs). Installation via pip with hyphens vs import with underscores is a common confusion.
fix
Install using pip install pymboot-rs, but import as from pymboot_rs import ...
affects: all
deprecatedThe Rust backend is still evolving; APIs may change without major version bump in early releases (0.x).
fix
Pin dependency to a specific minor version, e.g., pymboot-rs>=0.2,<0.3
affects: <1.0.0
Upgrade
Version history
0.2.0latest on PyPI · released Sep 16, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
pymboot-rs — pip install pymboot-rs · libregistry