config tool for serial devices
Project description
whl-com
Installation
pip install whl-com
Usage
options
Usage: whl_com.py [OPTIONS] [COMMANDS]...
whl-com
Options:
-D, --device TEXT serial device [required]
-b, --baudrate INTEGER baudrate
-t, --timeout FLOAT timeout in seconds
-f, --input_file TEXT commands file
--dry_run do not send commands, just print them
--no_output_filter do not filter output, print everything
--filter TEXT filter output by regex pattern
--quiet do not print output, only send commands
-i, --interactive enter interactive mode after sending commands
--help Show this message and exit.
send single command
send
log com1 gpgga ontime 1to device
python3 whl_com.py --device /dev/ttyUSB0 --baudrate 460800 log com1 gpgga ontime 1
send multiple commands
create a file
commands.txtwith the following content:
log com1 gpgga ontime 1
log com1 gpchcx ontime 0.01
saveconfig
specify the file with
--input_fileoption:
python3 whl_com.py --device /dev/ttyUSB0 --baudrate 460800 --input_file commands.txt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file whl_com-0.0.3.tar.gz.
File metadata
- Download URL: whl_com-0.0.3.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e19055b142ead743fa3867630b067bf1faf0c26f595c674c0fd7430ec9193a1
|
|
| MD5 |
dd466343cfdc8c1084aa73483d78da75
|
|
| BLAKE2b-256 |
2eb846f26cbadf482ab92bc891106252e46792a9fdb4563aafbcfc6462bd9f4c
|
Provenance
The following attestation bundles were made for whl_com-0.0.3.tar.gz:
Publisher:
python-publish.yml on wheelos-tools/whl-com
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
whl_com-0.0.3.tar.gz -
Subject digest:
0e19055b142ead743fa3867630b067bf1faf0c26f595c674c0fd7430ec9193a1 - Sigstore transparency entry: 397996902
- Sigstore integration time:
-
Permalink:
wheelos-tools/whl-com@2d4b103d6c78772f82955ca44d3e7d34dba9b7a0 -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/wheelos-tools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@2d4b103d6c78772f82955ca44d3e7d34dba9b7a0 -
Trigger Event:
release
-
Statement type:
File details
Details for the file whl_com-0.0.3-py3-none-any.whl.
File metadata
- Download URL: whl_com-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4b8356123d71737e7bf92a4cf6fed111d1291c179b12f3d270b0253cf3ef1a2
|
|
| MD5 |
f1acb514750fb4fcc5309d68a670c8bb
|
|
| BLAKE2b-256 |
796986fc3c2d7826b97e667f83e7ea6289c8a8626b7d9a96b93989c9d6de41b1
|
Provenance
The following attestation bundles were made for whl_com-0.0.3-py3-none-any.whl:
Publisher:
python-publish.yml on wheelos-tools/whl-com
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
whl_com-0.0.3-py3-none-any.whl -
Subject digest:
e4b8356123d71737e7bf92a4cf6fed111d1291c179b12f3d270b0253cf3ef1a2 - Sigstore transparency entry: 397996903
- Sigstore integration time:
-
Permalink:
wheelos-tools/whl-com@2d4b103d6c78772f82955ca44d3e7d34dba9b7a0 -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/wheelos-tools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@2d4b103d6c78772f82955ca44d3e7d34dba9b7a0 -
Trigger Event:
release
-
Statement type: