Utility functions for pySerial. This project is still at very early development stages and not guaranteed to work.
Install
PyPI
pip install serial_toolbox
Poetry (for development)
git clone <repo url>
cd <clone directory>
poetry shell
poetry install
Usage
Example usage as a python module
from serial_toolbox.interface_core import serial_interface
from serial_toolbox.connect import port_manager
import time
tx_port = port_manager.select_port(interactive=False, portname="TX port", baudrate=9600, timeout=0.1)
tx_interface = serial_interface(tx_port, terminal=False, max_queue_size=200, format='HEX')
tx_interface.write_to_port('c0040105')
time.sleep(1)
tx_interface.print_queue()
Serial I/O like Arduino IDE
Serial plotter
Interactively select serial port and plot values
>serial_plotter
Setup port (serial monitor). [] is default value.
baudrate [9600] >> 9600
timeout [0.1] >> 0.1
======================
index | device
0 | COM1
1 | COM2
device index [0] >> 0
format ('STR', 'HEX') ['STR'] >> 'HEX'
Serial monitor
Interactively select serial port and monitor values
> serial_monitor
Metadata
Release files for serial_toolbox 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| serial_toolbox-0.1.5.tar.gz | 10.9 kB | Without provenance | Details for serial_toolbox-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| serial_toolbox-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for serial_toolbox-0.1.5-py3-none-any.whl |
Total release size: 23.8 kB
Release files / serial_toolbox-0.1.5.tar.gz
| Download URL | serial_toolbox-0.1.5.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a608acd529b355402db4565a72d5dfcc13718940244d0aad89d9fcdf2619261d
|
|
BLAKE2b-256 checksum How to use checksums |
38977c7ad47d54152db804f9121cc88d0f8a12b4a23191cbf74f65443aae58fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.6 Windows/10
|
Release files / serial_toolbox-0.1.5-py3-none-any.whl
| Download URL | serial_toolbox-0.1.5-py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aa493ab209d46312c03cc5ce48b7bd2a5f5066de56338d6ef2e4158f80da44e7
|
|
BLAKE2b-256 checksum How to use checksums |
df3c4e983741471bfaef15464981b6a1128725f7777f90236b75b409aaa0a73c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.6 Windows/10
|
Security for serial_toolbox 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.