Nxscli
Nxscli is a command-line client package for the Apache NuttX NxScope real-time logging module.
It is also a reusable Python runtime layer for NxScope streaming, channel
control, triggers, and plugin orchestration. The nxscli internals are used
by other tools (for example GUI applications) to build more advanced workflows
without re-implementing NxScope communication logic.
Compatible with Python 3.10+.
Features
- Plugins architecture, extendable through
nxscli.extensionsentrypoint - Client-based triggering (global and per-channel triggers)
- Save data to CSV files
- Save data to Numpy files (
pnpsave) and memmap files (pnpmem) - Print samples
- Stream data over UDP (compatible with PlotJuggler)
- NxScope protocol via serial port or Segger RTT interface
- Virtual channels and math operations on channels data
- Optional control server (
--control-server) for extensions
Features Planned
- More triggering types
- Boolean operations on triggers
- Improve
pdevinfooutput (human-readable prints) - Interactive mode
Plugins
By default, nxscli ships with core plugins including CSV, printer, UDP,
and NumPy file capture (pnpsave and pnpmem).
Additional functionality is expanded by installing optional plugins.
Plugins are automatically detected by Nxscli.
Available plugins:
- nxscli-mpl - Matplotlib extension
- nxscli-pqg - PyQtGraph extension
Plugins Planned
- Stream data as audio (inspired by audio knock detection systems)
Installation
Nxscli can be installed by running pip install nxscli.
To install latest development version, use:
pip install git+https://github.com/railab/nxscli.git
Usage
Look at docs/usage.
Reuse as a Library
nxscli is not only a CLI frontend. It can be imported and reused by external
applications that need:
- NxScope connection handling (serial/RTT and compatible interfaces)
- channel configuration and stream lifecycle control
- plugin loading and runtime execution
- trigger and data-processing orchestration
This makes nxscli the integration layer for higher-level tools such as
custom dashboards, GUIs, and automation scripts.
Contributing
All contributions are welcome to this project.
To get started with developing Nxscli, see CONTRIBUTING.md.
Metadata
Release files for nxscli 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nxscli-1.0.1.tar.gz | 68.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nxscli-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 141.3 kB
Release files / nxscli-1.0.1.tar.gz
| Download URL | nxscli-1.0.1.tar.gz |
|---|---|
| Size | 68.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c749b207fbe3ce8db13f4623cb7a7fac59719f14c3d8f7385b43e439f4895e89
|
|
BLAKE2b-256 checksum How to use checksums |
492db383f0286bafaaf6f58a8b46fdde5aaf8718a848f5fe1048ec23b2196ff8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / nxscli-1.0.1-py3-none-any.whl
| Download URL | nxscli-1.0.1-py3-none-any.whl |
|---|---|
| Size | 72.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e1b9dffff0e607fcef2ea365feb3d236c791ab2cd465ae3441f62c9acdc6b94b
|
|
BLAKE2b-256 checksum How to use checksums |
887bdb1b2330a7e52ba4f89ddce98abde9eddb03c26fa4221a8f9de4ded45f47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|