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       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 (A to Z, [, \, ], or _) where Ctrl+<value> is used to exit. The default is ].

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


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.0.1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

nanocom-1.0.1-py2.py3-none-any.whl (6.7 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for nanocom-1.0.1.tar.gz
Algorithm Hash digest
SHA256 c7a57a31ac63b4da6b953f7f62cdaa47c2900c9bf7881b35926c18a91e46f5b9
MD5 e00e5f8c2f967bc246c08c89af1c7579
BLAKE2b-256 9ab4ff29702fc99597de300af15483a8e9e1b4f98f3fff0014ba8c42be9c38b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nanocom-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e6aba8ce9fb9632c504d9d0d6d45f1a76849264706651e2306d142b361c7116d
MD5 6255d54c3153d6e9f00754f4c83e7d8d
BLAKE2b-256 2e168688044b08746af9b44ce759556dc6346ec63f6cd702eaca39fda0f2e7e1

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