Metadata-Version: 2.1
Name: UliSerial
Version: 0.2.0
Summary: Serial port utilities to save time with your electronics projects
License: Apache License v2.0
Author: Uli Köhler
Author-email: github@techoverflow.net
Requires-Python: >=3.5,<4.0
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: pyserial (>=3.0,<4.0)
Description-Content-Type: text/markdown

# UliSerial
Serial port utilities to save time with your electronics project

## Installation

```bash
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`).

```python
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](LICENSE) file.
