Interactive arrow-key serial COM port terminal
Project description
python-comport
An interactive serial COM port terminal for the command line.
- Arrow-key menu to select the port
- Remembers your last port and baud rate — just press Enter to reconnect
- Works on Linux, macOS, and Windows
- No extra dependencies beyond
pyserial
Dev
press F5 in vscode
Installation
pip install python-comport
Usage
comport
- Use
↑ ↓to select a COM port and press Enter - Enter a baud rate (or press Enter to use the last saved value, default 9600)
- Type messages and press Enter to send
- Type
exitor press Ctrl+C to quit
Settings are saved to ~/.comport-settings.json so your last port and baud rate are pre-selected on the next run.
Publish to pypi
pip install build twine
python -m build
twine upload dist/*
Requirements
- Python 3.7+
- pyserial
License
MIT
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
python_comport-0.1.2.tar.gz
(3.7 kB
view details)
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 python_comport-0.1.2.tar.gz.
File metadata
- Download URL: python_comport-0.1.2.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
713996530cfb6b9d96263ce3b7ae43b4fae95d88d4d3d4dc91cb618b06efdee0
|
|
| MD5 |
9fd52536bea796e5c2f32e6fd46d3bf3
|
|
| BLAKE2b-256 |
8fe2fb56ea14dbcef27bd795d2aec173845a1603a5bb8bd77b9e9917567e8192
|
File details
Details for the file python_comport-0.1.2-py3-none-any.whl.
File metadata
- Download URL: python_comport-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5b433c1be342ab055e97a5e84c8190acd2d7f167fcb6d276be6f79dc1673056
|
|
| MD5 |
6163b53b61531faa12b082a9d9f6e132
|
|
| BLAKE2b-256 |
df01777e40273142c8e89c8ca2fb7ef842bec936335715c7ca28870a9c37d3d8
|