UliSerial
Serial port utilities to save time with your electronics project
Installation
pip install UliSerial
Example usage
This code finds & opens a specific serial port using pyserial.
If no port, or multiple ports are found, NoSuchSerialPortException or MultipleSerialPortsException is raised (both subclasses of UliSerialException).
from UliSerial.Find import *
import serial
port = find_serial_port(product="Marlin USB Device", serial_number="01010A23535223934CF29A1EF5000007")
# port is now e.g. '/dev/ttyACM0'
# Open the port
ser = serial.Serial(port, 115200, timeout=1)
License
See LICENSE file.
Metadata
Release files for UliSerial 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| uliserial-0.2.0.tar.gz | 8.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| uliserial-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.9 kB
Release files / uliserial-0.2.0.tar.gz
| Download URL | uliserial-0.2.0.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07471c31432aff6389b227579e51a3b0d3ca51cb68b330a937b4237abcea9479
|
|
BLAKE2b-256 checksum How to use checksums |
717a3c40ba279476c97ba6d5f543a2e6d6378daaab2e5a05fa66355ae4175524
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.10.12 Linux/5.15.0-89-generic
|
Release files / uliserial-0.2.0-py3-none-any.whl
| Download URL | uliserial-0.2.0-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eaf4c0859e52c79997a07b296d86c566edfd0b47e90d33e18a5072e6134d9294
|
|
BLAKE2b-256 checksum How to use checksums |
5f3ffd8b771cf48f9d93b95ba70d6d378576f92279e4f1b053dab67caa604747
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.10.12 Linux/5.15.0-89-generic
|