Skip to main content

nanocom

PyPI PyPI: supported Python Build status Code style

An ultra simple command line serial client.

Getting started

Install it using

pip install nanocom

and connect to your serial port using

nanocom --port /dev/ttyUSB0 --baudrate 115200

Usage

Running nanocom --help will display all the cli options. The following options are available

-p, --port

The path to the serial port. On macOS it will be something like /dev/tty.usbserial and on Linux probably something like /dev/ttyUSB0. This option is required.

-b, --baudrate

The baudrate of the serial port. This is typically something like 9600 or 115200 but any integer is accepted. If not given, this option defaults to 115200.

-m, --map

A character map, key, value pair, such that when the key character is entered into the client the value string will be sent instead. The value string can be multiple characters and multiple character maps are allowed. An example would be if you wanted to send a carriage return and a new line when a new line character was given you would use --map "\n" "\r\n".

-c, --exit-char

The exit character where the Ctrl key and this character are used to exit the client. The character must be one of A to Z, [, \, ], or _. For example if you gave the option --exit-char \\ then the client would exit when you pressed Ctrl + \.

License

This project is licensed under the MIT license (LICENSE or http://opensource.org/licenses/MIT).

Metadata

Release files for nanocom 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nanocom 2.0.1
File Size Uploaded Provenance
nanocom-2.0.1.tar.gz 4.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for nanocom 2.0.1
File Interpreter ABI Platform
nanocom-2.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.4 kB

Release files / nanocom-2.0.1.tar.gz

Download URL nanocom-2.0.1.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4fb2641cc493bdbfc067c5a17d4b6b65008725d30fdcb52306cbf714904c73a0
BLAKE2b-256 checksum
How to use checksums
bf12a9e6229e6358fb2f0a4e61be5cf0bf5898729850ebd65cebba7b9a306efd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Release files / nanocom-2.0.1-py3-none-any.whl

Download URL nanocom-2.0.1-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
74fc361eed3f63c120daf873fd174e8685684f6a46329a979f37e3dfc5ab0e69
BLAKE2b-256 checksum
How to use checksums
fa347f08b84e2ad3028eefd3182a0eddd8e16b9251d06017622d7bfd9d17a36b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Security for nanocom 2.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page