Listed in editorial order. Click a column to re-sort the whole list.
Press / to search. Tap a tag to filter. Click any row for details.
Search and filter
Results
| Row number | Tags | |||||
|---|---|---|---|---|---|---|
| 1 | pyserial Hardware | 13,044,930 | 3,577 | Hardware Other | → | |
|
Python serial port access library for Windows, macOS, Linux, and BSD.
|
||||||
| 2 | pynput Hardware | 1,726,505 | 2,173 | Hardware Other | → | |
|
A library to control and monitor input devices.
|
||||||
| 3 | bleak Hardware | 1,633,381 | 2,543 | Hardware Other | → | |
|
A cross platform Bluetooth Low Energy Client for Python using asyncio.
|
||||||
| 4 | jumpstarter Hardware | 3,799 | 224 | Hardware Other | → | |
|
A hardware-in-the-loop testing framework with a Python client library for automated testing on real and virtual hardware.
|
||||||
No projects match your search or filter.
Try a broader term, or .
Hardware guide
pySerial is imported as serial, and serial.Serial opens a port as a context manager. Set a timeout when you open it, or readline() can block forever when no newline arrives. The docs also suggest serial_for_url() over creating Serial directly, so the same code takes a local port, a remote one, or a loop:// loopback for your tests.
pynput sends input through a Controller and watches it through a Listener, for the keyboard and the mouse alike. A listener is a thread that runs your callbacks. On some platforms, notably Windows, a slow callback risks freezing input for every process, so keep callbacks short: hand events to a queue, and let another thread work through it.
Bleak is async, so call asyncio.run() once and do all your Bluetooth work in one async main function. Scan with BleakScanner and connect with BleakClient, each in an async with block, so the device disconnects when the block exits.
Jumpstarter puts your device behind an exporter, which manages its interfaces, and your tests reach it through a client. Local mode needs no Kubernetes or other infrastructure: run jmp shell --exporter <name>, then pytest inside it. When teams share hardware, especially in CI, distributed mode adds a Kubernetes-based controller that leases devices out. Write tests as subclasses of JumpstarterTest, whose client fixture handles the connection.
Jumpstarter builds on the other picks: its serial driver runs on pySerial and takes the port in pySerial's format, and its Bluetooth LE driver runs on Bleak.
Contribute
Know a project that belongs here?
Tell us what it does and why it stands out.