170.1. python3-pyusb-1.3.1
USB access from python through libusb — what pyvisa-py opens a USB instrument with
1.3.1-1 · BSD-3-Clause · 0.1 SBU · 442.2 KiB, 38 files · 41_system, 872 of 1047 · ports/core/python-hw/python3-pyusb
Homepage: https://github.com/pyusb/pyusb
Why it is in KDOS. The comment above python3-pyusb and python3-pyvisa-py in script/phases/41_system/packages.d/python-hw.txt:
The backend pyvisa speaks USB, TCPIP and serial through; pyusb is how it reaches a USB instrument.
Depends on: python3, python3-setuptools, python3-pip, python3-setuptools-scm, libusb.
Required by (1): python3-pyvisa-py.
Sources: python3-pyusb-1.3.1.tar.gz (75.5 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install python3-pyusb'
build.sh:
pip3 install --ignore-installed --no-deps --no-index --no-build-isolation --root=$PKG --prefix=/usr .
Directories: /usr/lib/python3.14/site-packages/pyusb-1.3.1.dist-info, /usr/lib/python3.14/site-packages/usb, /usr/share/licenses/python3-pyusb.