Shared SCPI serial/WiFi communication tools and GUI widgets for NEnG instruments.
Project description
neng-scpi-tools
Shared SCPI serial/WiFi communication tools and GUI widgets for NEnG instruments.
Overview
This package provides the common building blocks used by all NEnG subproject GUIs (temp-logger, bts7960-gui, etc.):
| Module | Description |
|---|---|
neng_scpi_tools.myserial.scpi_serial |
USB CDC serial SCPI interface with auto-detect, locking, and cross-platform support |
neng_scpi_tools.myserial.scpi_universal |
Unified Serial + WiFi/TCP SCPI interface with automatic fallback |
neng_scpi_tools.connection_panel |
Reusable tkinter ConnectionPanel widget (USB/WiFi mode selector, discovery, connect/disconnect) |
Installation
For development (editable, from monorepo root)
pip install -e neng-scpi-tools/
As a dependency of a subproject
# Install the shared tools + the subproject together
pip install -e neng-scpi-tools/
pip install -e TMP117/Python/temp-logger/
Usage
from neng_scpi_tools.connection_panel import ConnectionPanel
from neng_scpi_tools.myserial.scpi_serial import SCPISerial
from neng_scpi_tools.myserial.scpi_universal import SCPIUniversal
Architecture
This package is the single source of truth for code that is shared across
multiple NEnG subprojects. Instead of copying files between subprojects (which
leads to drift and divergence), each subproject declares neng-scpi-tools as a
dependency and imports from it.
neng-controllers-platform/
├── neng-scpi-tools/ ← THIS PACKAGE (shared)
│ └── src/neng_scpi_tools/
│ ├── connection_panel.py
│ └── myserial/
│ ├── scpi_serial.py
│ └── scpi_universal.py
├── TMP117/Python/temp-logger/ ← depends on neng-scpi-tools
├── BTS7960/Python/bts7960-gui/ ← depends on neng-scpi-tools
└── ...
(c) 2026 Prof. Flavio ABREU ARAUJO. All rights reserved.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file neng_scpi_tools-0.1.10.tar.gz.
File metadata
- Download URL: neng_scpi_tools-0.1.10.tar.gz
- Upload date:
- Size: 58.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30615552efa1c3d6d37d38b03c89697343db2aab28b3adc0cb4195896871b891
|
|
| MD5 |
23872ccd992e16040dbba5f747709a71
|
|
| BLAKE2b-256 |
5719c6cd15b1ee24bbe2957d6f28d14e0ecfe3adead90c16ad53a1d279a4fa2b
|
File details
Details for the file neng_scpi_tools-0.1.10-py3-none-any.whl.
File metadata
- Download URL: neng_scpi_tools-0.1.10-py3-none-any.whl
- Upload date:
- Size: 59.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7944306f9d0c34198ee270e47814e48a8b05bba8426222a7380f64d025e2ec9
|
|
| MD5 |
899f2e49ad42313592c17a0ab8f14932
|
|
| BLAKE2b-256 |
c848ccb5f778828f0ae96f1c363e3a6387bfbe6f14098885f1416aaa8d72486c
|