SSH JSONL messaging utilities for napari
Project description
Qt Remote Commands over SSH for napari Plugins
A Python package for executing remote processing tasks over SSH from napari plugins with Qt-based UIs.
Overview
This package enables napari plugins to offload computationally intensive image processing to remote servers via SSH. It provides:
- Thread-safe SSH client for sending requests and transferring files
- Qt widget integration for connection management UI
- JSON-based request/response protocol for structured communication
- Context manager API for safe resource handling
Installation
pip install qt-remote-commands-over-ssh-for-napari-plugins[client]
Use Case
When building napari plugins that need to process large images or run heavy computations, you can:
- Run a lightweight server script on a remote machine
- Send image data and processing parameters from the napari UI
- Receive processed results and display them as new layers
The package handles SSH connection pooling, file transfers (via scp), and thread synchronization so multiple UI operations can safely share a single connection.
Example
See the included example which demonstrates:
- A napari plugin that applies a gamma factor to images
- Serializing numpy arrays and sending them to a remote server
- Processing the data remotely and returning results
- Adding processed images back to the napari viewer
The client sends image data over SSH, the server processes it, and results are transferred back and displayed—all while keeping the napari UI responsive through background threading.
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 qt_remote_commands_over_ssh_for_napari_plugins-0.2.2.tar.gz.
File metadata
- Download URL: qt_remote_commands_over_ssh_for_napari_plugins-0.2.2.tar.gz
- Upload date:
- Size: 24.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66c02fa34759bf29e89da58bc05c5ca808312d72c65e90354cbaa25a97e329c2
|
|
| MD5 |
ad579630f2489126fd8afc734ebba0ea
|
|
| BLAKE2b-256 |
fe37fbb6df7b16664ea8780dcf9ea06d95f585b9f11afbd29f5843e6a3d935bc
|
Provenance
The following attestation bundles were made for qt_remote_commands_over_ssh_for_napari_plugins-0.2.2.tar.gz:
Publisher:
ci-cd.yml on pnewstein/qt-remote-commands-over-ssh-for-napari-plugins
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qt_remote_commands_over_ssh_for_napari_plugins-0.2.2.tar.gz -
Subject digest:
66c02fa34759bf29e89da58bc05c5ca808312d72c65e90354cbaa25a97e329c2 - Sigstore transparency entry: 630575153
- Sigstore integration time:
-
Permalink:
pnewstein/qt-remote-commands-over-ssh-for-napari-plugins@815dd3ee10dcd433874361aa0fa4e7c320ff17d3 -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/pnewstein
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci-cd.yml@815dd3ee10dcd433874361aa0fa4e7c320ff17d3 -
Trigger Event:
release
-
Statement type:
File details
Details for the file qt_remote_commands_over_ssh_for_napari_plugins-0.2.2-py3-none-any.whl.
File metadata
- Download URL: qt_remote_commands_over_ssh_for_napari_plugins-0.2.2-py3-none-any.whl
- Upload date:
- Size: 22.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
501300b0da3f3c967f1766065055883cb2a3b7ddeac05449e5343d342b3705a5
|
|
| MD5 |
7b1f3f61c39fe55f9f66773965f4b640
|
|
| BLAKE2b-256 |
61b50b6130c51f06f7a9ee12a6ad9b11c91e634568f5916a795856b554af023e
|
Provenance
The following attestation bundles were made for qt_remote_commands_over_ssh_for_napari_plugins-0.2.2-py3-none-any.whl:
Publisher:
ci-cd.yml on pnewstein/qt-remote-commands-over-ssh-for-napari-plugins
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qt_remote_commands_over_ssh_for_napari_plugins-0.2.2-py3-none-any.whl -
Subject digest:
501300b0da3f3c967f1766065055883cb2a3b7ddeac05449e5343d342b3705a5 - Sigstore transparency entry: 630575154
- Sigstore integration time:
-
Permalink:
pnewstein/qt-remote-commands-over-ssh-for-napari-plugins@815dd3ee10dcd433874361aa0fa4e7c320ff17d3 -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/pnewstein
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci-cd.yml@815dd3ee10dcd433874361aa0fa4e7c320ff17d3 -
Trigger Event:
release
-
Statement type: