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

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.

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.0.tar.gz (3.6 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.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file python_comport-0.1.0.tar.gz.

File metadata

  • Download URL: python_comport-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 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.0.tar.gz
Algorithm Hash digest
SHA256 5c69fc534b255fb0341461641abe691868ec945aa83760673c39fd02fcd3d9e8
MD5 e6c410ec0b418ef071579e10439409e0
BLAKE2b-256 8e8aa92f8793826f0801619e2048c0140026589f00f35cc95a73541bb3d662a0

See more details on using hashes here.

File details

Details for the file python_comport-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: python_comport-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f454cb2806f1c7997d91441c1460c04d2d2d34fa548ac25e19213fd67ab716d9
MD5 64d2e003a8e99c7723420f531863e496
BLAKE2b-256 5d13fd80503402697cbc98d8fff6033b6a6b52f75500f5718fa0700b2d80c622

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