Skip to main content

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
  1. Use ↑ ↓ to select a COM port and press Enter
  2. Enter a baud rate (or press Enter to use the last saved value, default 9600)
  3. Type messages and press Enter to send
  4. Type exit or 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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_comport-0.1.2-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

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

Hashes for python_comport-0.1.2.tar.gz
Algorithm Hash digest
SHA256 713996530cfb6b9d96263ce3b7ae43b4fae95d88d4d3d4dc91cb618b06efdee0
MD5 9fd52536bea796e5c2f32e6fd46d3bf3
BLAKE2b-256 8fe2fb56ea14dbcef27bd795d2aec173845a1603a5bb8bd77b9e9917567e8192

See more details on using hashes here.

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

Hashes for python_comport-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d5b433c1be342ab055e97a5e84c8190acd2d7f167fcb6d276be6f79dc1673056
MD5 6163b53b61531faa12b082a9d9f6e132
BLAKE2b-256 df01777e40273142c8e89c8ca2fb7ef842bec936335715c7ca28870a9c37d3d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page