An ultra simple serial client using pyserial.
Project description
An ultra simple serial client using pyserial.
Usage
Install it using
pip install nanocom
Example usage would be
nanocom --port /dev/ttyUSB0 --baudrate 115200
The following options are available
-h, --help Show the help message and exit. -v, --version Show the version and exit. -p, --port The serial port. Examples include /dev/tty.usbserial or /dev/ttyUSB0. -b, --baudrate The baudrate of the serial port. The default is 115200. -c, --exit-char The exit character. The default is ], so Ctrl+] will be used to exit.
Why another serial client?
I couldn’t find anything to suit my need. I just wanted to talk to a Raspberry Pi through the serial terminal just as I would do with SSH! I tried many different things, from GNU Screen to bash scripts. But they all were either too clunky, interfered with tmux, or didn’t pass ANSI escape codes through. The best thing I found was python -m serial.tools.miniterm but it had an odd menu system that wasn’t needed. Nanocom is a simple modification of serial.tools.miniterm.
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
Built Distribution
Hashes for nanocom-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c817203e0d828789e3a11fe306e417c00ec17a3455016e145c0485e4e35b7122 |
|
MD5 | 6b2909c942682118834db975f9db01c8 |
|
BLAKE2b-256 | f300b95cac9f2b4d2e69d4e413f208c97bdc2a6ce292cee56c48150188397e5b |