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

python-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.3.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.3-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_comport-0.1.3.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.1

File hashes

Hashes for python_comport-0.1.3.tar.gz
Algorithm Hash digest
SHA256 88046502ede80944af966757b9949a4b7f37b0bf436577dac7c25a124713c735
MD5 97f3aff782dfaf64b195af8df39c6e6d
BLAKE2b-256 247cd84121d27eaff7d0306284e7fde48ff56dcb7b428812cdf662112da87dd6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_comport-0.1.3-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.11.1

File hashes

Hashes for python_comport-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 eba5e37393b71a62a3e3849b3095f84bf6a03edcad7f91940d7114c32cdb05c8
MD5 f3eb104e282bae354a063e3e408df654
BLAKE2b-256 4622dfb31d5f1cbb40d4368d37ad8e24d812430289df27b69ce207144326e206

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