Skip to content

A simple and handy serial tool for Linux/Windows/Mac - 简单的跨平台串口工具

License

Notifications You must be signed in to change notification settings

xiongyihui/pqcom

Repository files navigation

pqcom

Build status Pypi

A simple serial port tool for Linux/Windows/Mac. It's written by Python and Qt (PySide6).

pqcom

Features

  • auto-detect available serial ports
  • supports all baud rates
  • EOL (End Of Line) can be "\n", "\r", or "\r\n"
  • extra EOL can be appended
  • supports 3 output formats
    1. Normal
    2. Hex: Hex data will be converted
    3. Extend: \t, \r and \n are escape characters, each of them is a single character
  • supports 2 display formats
    1. Normal
    2. Hex: left part displays hex string, right part displays normal string
  • frequently used strings can be saved
  • history is included
  • data can be sent repeatedly
  • keyboard shortcut Ctrl+Enter to send data in the TX textedit, Ctrl+[1~9] to send stared list item.
  • Support "Stay On Top"
+------------------------------------------------------------------+
|                         pqcom                              - + x |
+------------------------------------------------------------------+
| + | > | = | H | X | i |                                          |
+------------------------------------------------------------------+
| |   |   |   |   |   |                                            |
| |   |   |   |   |   +---> Open about dialog                      |
| |   |   |   |   |                                                |
| |   |   |   |   +-------> Clear received message                 |
| |   |   |   |                                                    |
| |   |   |   +-----------> Enable/Disable Hex View                |
| |   |   |                                                        |
| |   |   +---------------> Open settings dialog                   |
| |   |                                                            |
| |   +-------------------> Open/Close serial port                 |
| |                                                                |
| +-----------------------> Open a new window                      |
|                                                                  |
|                                                                  |
|                                                                  |
|                                                                  |
|                                                                  |
|                                                                  |
+------------------------------------------------------------------+
|                                                                  |
|  Keyboard Shortcut                                               |
|      Ctrl + Enter: Send                                          |
|                                                                  |
+------------------------------------------------------------------+
| + Normal | O Hex | O Extended | * | History |  | # Repeat | Send |
+------------------------------------------------------------------+

Requirements

  • python
  • pyserial
  • pyside6

Installation

  • Linux/Mac

    1. install pyqt5
    2. use pip to install pqcom - pip install pqcom
  • Windows

    Download it from Google Drive or Baidu Pan.

The icons are from KDE Plasma Breeze Icons

About

A simple and handy serial tool for Linux/Windows/Mac - 简单的跨平台串口工具

Resources

License

Stars

Watchers

Forks

Packages

No packages published