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

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_comport-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 9f46f5d7d31d10dc86abd0cb33b024ab45cf3b22b228faf50ea47df7ff29ee99
MD5 0526668a272c8f6211af4aca18503028
BLAKE2b-256 59ec3e090692aa1809d552a990304bd60136f79be1840891b86bbb518fbe567a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_comport-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ad32cf401387bc2d6728b3fdb770d8a7650b8129d5fcbb992e2b7bad617cf873
MD5 e0a106abc4e98842b753e97d99d06be8
BLAKE2b-256 d9b155a8fa1edf90932557cb2916a11db47598a7490e8a34c0668023912eaef6

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