Cross platform serial debug assistant
Project description
COMTool
========
[](https://pypi.python.org/pypi/comtool/)
A cross platform serial debug tools written by python
--------
Windows

Linux(Elementry OS)

Raspberry Pi3

> screenshot shows the version 1.0, the latest may not the same totally! But better performance、more 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] <kbd>Ctrl+Enter</kbd> 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
not fully test!
```
brew install python3 python3-pip
pip install COMTool
```
### 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 pyserail 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)
========
[](https://pypi.python.org/pypi/comtool/)
A cross platform serial debug tools written by python
--------
Windows

Linux(Elementry OS)

Raspberry Pi3

> screenshot shows the version 1.0, the latest may not the same totally! But better performance、more 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] <kbd>Ctrl+Enter</kbd> 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
not fully test!
```
brew install python3 python3-pip
pip install COMTool
```
### 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 pyserail 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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
COMTool-1.7.7.tar.gz
(46.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
COMTool-1.7.7-py3-none-any.whl
(50.3 kB
view details)
File details
Details for the file COMTool-1.7.7.tar.gz.
File metadata
- Download URL: COMTool-1.7.7.tar.gz
- Upload date:
- Size: 46.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.10.0 pkginfo/1.2.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2241eafa27468506c565ada26c16edade43cf1f549abcfbd06551df0185a8c2
|
|
| MD5 |
4c402ff997d838a1870f8cf29f87869b
|
|
| BLAKE2b-256 |
cc6614c543335af44d2b39d362bd53e66c7f3cef48d6acf0e76815a16bc78b2b
|
File details
Details for the file COMTool-1.7.7-py3-none-any.whl.
File metadata
- Download URL: COMTool-1.7.7-py3-none-any.whl
- Upload date:
- Size: 50.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.10.0 pkginfo/1.2.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
daf5e89f0871b36b58f6a333c956b9f5cabbc2a59ec1c679732127893cbdd909
|
|
| MD5 |
2ceac96cc5c0dd8602e6422a6c4503ee
|
|
| BLAKE2b-256 |
54db315fc517e6182d1dd09e5addd1908312c3a89f16028ae61998f2228c76af
|