Skip to main content

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 this message and exit.
-v, --version           Show the version and exit.
-p, --port PATH         The serial port. Examples include /dev/tty.usbserial or /dev/ttyUSB0.
-b, --baudrate INTEGER  The baudrate of the serial port. The default is 115200.
-m, --map KEY VALUE     A character map where a string VALUE is sent for a character KEY. Multiple maps are allowed.
-c, --exit-char CHAR    The exit character (A to Z, [, \, ], or _) where Ctrl+CHAR is used to exit. The default is ].

Why another serial client?

I couldn’t find anything to suit my need. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nanocom-1.1.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

nanocom-1.1.0-py2.py3-none-any.whl (7.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file nanocom-1.1.0.tar.gz.

File metadata

  • Download URL: nanocom-1.1.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for nanocom-1.1.0.tar.gz
Algorithm Hash digest
SHA256 27cbc6f395f428448b8417f5814d95915d0d31e88ac73b76be2d3101c4841c29
MD5 72266563cb331d75d3133c230d98c812
BLAKE2b-256 e2db80267f6d1c7195e26a02cb7716162ce788f4c0d7b652a40b20c4dc01ec4b

See more details on using hashes here.

File details

Details for the file nanocom-1.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for nanocom-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9b7d94b0d662970eda8b0c26a5589857c2b41deef5df0ef8739b03297bfbe963
MD5 bb0fc2165c514dc7b3cf7fe60e08068b
BLAKE2b-256 8148319955706773bc54bc9e07a62e14dcf9af30124609a2b852cc255f865fa6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page