COMTool-master

所属分类:串口编程
开发工具:Python
文件大小:195KB
下载次数:1
上传日期:2018-12-11 09:55:47
上 传 者stoneslli
说明:  A cross platform serial debug tools written by python

文件列表:
.travis.yml (151, 2018-12-07)
COMTool (0, 2018-12-07)
COMTool\Combobox.py (482, 2018-12-07)
COMTool\Main.py (34476, 2018-12-07)
COMTool\__init__.py (1, 2018-12-07)
COMTool\autoUpdate.py (1220, 2018-12-07)
COMTool\helpAbout.py (1197, 2018-12-07)
COMTool\parameters.py (2114, 2018-12-07)
COMTool\test.py (1607, 2018-12-07)
COMTool\wave.py (1475, 2018-12-07)
COMToolData (0, 2018-12-07)
COMToolData\assets (0, 2018-12-07)
COMToolData\assets\RaspberryPiScreenshot.png (34855, 2018-12-07)
COMToolData\assets\arrow-down.png (251, 2018-12-07)
COMToolData\assets\arrow-left-white.png (334, 2018-12-07)
COMToolData\assets\arrow-left.png (376, 2018-12-07)
COMToolData\assets\arrow-right-white.png (329, 2018-12-07)
COMToolData\assets\arrow-right.png (356, 2018-12-07)
COMToolData\assets\help-white.png (567, 2018-12-07)
COMToolData\assets\help.png (687, 2018-12-07)
COMToolData\assets\logo.ico (370070, 2018-12-07)
COMToolData\assets\logo.png (27874, 2018-12-07)
COMToolData\assets\logo2.png (20959, 2018-12-07)
COMToolData\assets\qss (0, 2018-12-07)
COMToolData\assets\qss\style-dark.qss (4753, 2018-12-07)
COMToolData\assets\qss\style.qss (4922, 2018-12-07)
COMToolData\assets\screenshot_V1.0.png (23575, 2018-12-07)
COMToolData\assets\screenshot_V1.3.png (21695, 2018-12-07)
COMToolData\assets\screenshot_V1.4_night.png (50561, 2018-12-07)
COMToolData\assets\screenshot_V1.7.png (23942, 2018-12-07)
COMToolData\assets\skin-white.png (332, 2018-12-07)
COMToolData\assets\skin.png (393, 2018-12-07)
COMToolData\assets\wave-white.png (562, 2018-12-07)
COMToolData\assets\wave.png (665, 2018-12-07)
LICENSE (7651, 2018-12-07)
MANIFEST.in (52, 2018-12-07)
cxsetup.py (6095, 2018-12-07)
... ...

COMTool ======== [![PyPI](https://img.shields.io/pypi/v/comtool.svg)](https://pypi.python.org/pypi/comtool/) [![Build Status](https://travis-ci.org/Neutree/COMTool.svg?branch=master)](https://travis-ci.org/Neutree/COMTool) A cross platform serial debug tools written by python -------- Windows ![Windows screenshot](./COMToolData/assets/screenshot_V1.7.png) Linux(Elementry OS) ![Linux(Elementry OS)screenshot](./COMToolData/assets/screenshot_V1.4_night.png) Raspberry Pi3 ![Raspberry Pi screenshot](./COMToolData/assets/RaspberryPiScreenshot.png) > screenshot shows the version 1.0, the latest may not the same totally! But better performancemore easy to use and more elegant ## Features - [x] cross platform (Windows, Linux, MacOS, Raspberry Pi ... ...) - [x] port baudrate bytesize parity stopbits settings - [x] basic send data (ascii and hex) - [x] basic receive data (ascii and hex) - [x] send and receive data count - [x] clear received data area - [x] auto linefeed on every once receive - [x] scheduled auto send - [x] send history and select send again - [x] serial auto detect - [x] CR LF / LF select support - [x] auto save settings - [x] Ctrl+Enter to send - [ ] escape character support, like \x \r \n etc. - [x] multiple character encode support(ASII,GBK(Chinese),UTF-8,UTF-16......) - [ ] multiple auto send (order and disorder) - [ ] unix style terminal color support - [x] night theme and White theme - [ ] real time data graphic display - [x] rts & dtr control by hand ## Install ### Windows Test pass on Win10 there's three ways: 1. download excutable bin file, easiest way for one never used python * Download the latest bin file at the [release page](https://github.com/Neutree/COMTool/releases) * unzip, and run comtool.exe 2. Install Python3 first then install from pypi: * [dowload python3](https://www.python.org/downloads/) * Install by pip, ``` pip install comtool comtool ``` 3. Or you can download source code, then install from source code * download sourcecode * install ``` python setup.py bdist_wheel pip install dist/COMTool-*.*.*-py3-none-any.whl comtool ``` ### Linux Test on Ubuntu 16 and Elementry OS 4 there's many ways to install comtool on linux > The installation proccess will automatically install PyQt5, it may takes a long times!!! > you can install pyqt5 manually by command `sudo apt install python3-pyqt5` or `sudo pip3 install pyqt5` * (1) Download and install from [pypi] by pip ``` sudo apt install python3 sudo apt install python3-pip sudo pip3 install comtool sudo comtool ``` * (2) Or get by tool `get-pip.py` ``` sudo apt install python3 wget https://bootstrap.pypa.io/get-pip.py sudo python3 get-pip.py sudo pip3 install comtool sudo comtool ``` > be sure python bin path already in the `$PATH` env. * (3) Just install from github source code by pip ``` sudo apt install python3 python3-pip sudo pip3 install git+https://github.com/Neutree/COMTool sudo comtool ``` * (4) Or you can download source code, then install from source code ``` python setup.py bdist_wheel sudo pip3 install dist/COMTool-*.*.*-py3-none-any.whl ``` We should add current user to dialout group to avoid `sudo` command ``` sudo usermod -a -G dialout $USER grep 'dialout' /etc/group reboot #must reboot to take effect ``` ### macOS ``` brew install python3 python3-pip sudo pip3 install COMTool ``` > It will automatically install pyqt5, may takes a lot of time depend on your network ### Rasberry Pi Test pass on Raspberry Pi 3 just open terminal, type the command below: ``` sudo apt install git git clone https://github.com/Neutree/COMTool.git cd COMTool python setup.py bdist_wheel sudo pip3 install dist/COMTool-*.*.*-py3-none-any.whl comtool ``` then enjoy ## Development 1. Install python3.6 and pip3 Linux: ``` sudo apt install python3 python3-pip ``` Windows: [dowload python3](https://www.python.org/downloads/) 2. install pyserial and PyQt5 ``` sudo pip3 install pyserial pyqt5 bs4 ``` On Raspberry: ``` sudo pip3 install --upgrade pyserial bs4 sudo apt install python3-pyqt5 ``` 3. clone project ``` git clone https://github.com/Neutree/COMTool.git ``` 4. code, resolve bugs or add new reatures Recommended `PyCharm` IDE to get start 5. pull request ## Issue and improvement Create issue [here](https://github.com/Neutree/COMTool/issues/new)

近期下载者

相关文件


收藏者