Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kkimj/usbserial_python-library
USBSerial_Python-library
https://github.com/kkimj/usbserial_python-library
python-library python3 usbserial
Last synced: 10 days ago
JSON representation
USBSerial_Python-library
- Host: GitHub
- URL: https://github.com/kkimj/usbserial_python-library
- Owner: KKimj
- License: gpl-3.0
- Created: 2021-03-22T15:01:47.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-03-24T09:58:39.000Z (over 3 years ago)
- Last Synced: 2024-10-14T11:07:51.003Z (23 days ago)
- Topics: python-library, python3, usbserial
- Language: Python
- Homepage: https://pypi.org/project/USBSerial/
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# USBSerial_Python-library
USBSerial_Python-libraryhttps://pypi.org/project/USBSerial
## Getting Started
### Installation
```
$ pip install USBSerial
```## Usage
### Import
```python
from usbserial import USBSerial
```### Examples
```python
from usbserial import USBSerial
device = USBSerial(port = 'ttyUSB0', baudrate = 115200, timeout = 3, open = True)
print(device.readline())
print(device.read(size = 1))
```## Dev
### Build
```
$ python3 -m build
```### Local test
```
$ pip install -e .
```#### Build and Local test
```
$ python3 -m build && pip install -e . && python
```### Release
```
$ python -m twine upload dist/*
```