Skip to main content

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

Metadata

Release files for python-comport 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-comport 0.1.4
File Size Uploaded Provenance Actions
python_comport-0.1.4.tar.gz 3.7 kB Without provenance Details for python_comport-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for python-comport 0.1.4
File Interpreter ABI Platform Actions
python_comport-0.1.4-py3-none-any.whl Python 3 none any Details for python_comport-0.1.4-py3-none-any.whl

Total release size: 7.9 kB

Release files / python_comport-0.1.4.tar.gz

Download URL python_comport-0.1.4.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9f46f5d7d31d10dc86abd0cb33b024ab45cf3b22b228faf50ea47df7ff29ee99
BLAKE2b-256 checksum
How to use checksums
59ec3e090692aa1809d552a990304bd60136f79be1840891b86bbb518fbe567a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.1

Release files / python_comport-0.1.4-py3-none-any.whl

Download URL python_comport-0.1.4-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad32cf401387bc2d6728b3fdb770d8a7650b8129d5fcbb992e2b7bad617cf873
BLAKE2b-256 checksum
How to use checksums
d9b155a8fa1edf90932557cb2916a11db47598a7490e8a34c0668023912eaef6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.1

Security for python-comport 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page