Lightweight, torch-free remote client for nnInteractive (nnInteractiveRemoteInferenceSession)
Project description
nninteractive-client
Lightweight, torch-free remote client for nnInteractive.
Install this package if you only want to drive a remote nninteractive-server
(e.g. from a GUI, a thin client, or a host with its own torch policy such as 3D
Slicer). It pulls in only the wire dependencies (numpy, httpx, blosc2) —
no torch, no nnU-Net.
pip install nninteractive-client
from nnInteractive.inference.remote import nnInteractiveRemoteInferenceSession
import numpy as np
session = nnInteractiveRemoteInferenceSession("http://gpu-box:1527", api_key="…")
session.set_image(image_4d) # numpy, [C, X, Y, Z]
session.set_target_buffer(np.zeros(image_4d.shape[1:], dtype=np.uint8))
session.add_point_interaction([60, 70, 30], include_interaction=True)
The client exposes the same public API and capability attributes as the local
nnInteractiveInferenceSession, so it is a drop-in replacement. See
SERVER_CLIENT.md
for the full client/server guide.
Need local inference or the server?
Those live in the full package. Installing it gives you everything (it depends on this client):
pip install nnInteractive
If you try to use a full-only feature from a client-only install, you'll get a clear error pointing you here.
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 nninteractive_client-2.5.0.tar.gz.
File metadata
- Download URL: nninteractive_client-2.5.0.tar.gz
- Upload date:
- Size: 25.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e7874201d13a19be87b26f11d09319678a858ffd37b67567f514a83ae2e76a3
|
|
| MD5 |
e84e6dba5e254321f8caa93fd6de58bc
|
|
| BLAKE2b-256 |
ffe4cbac7c8e569b29040cde8f09d5470f58737242c884dbd54faaa88775a5ee
|
Provenance
The following attestation bundles were made for nninteractive_client-2.5.0.tar.gz:
Publisher:
publish.yml on MIC-DKFZ/nnInteractive
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nninteractive_client-2.5.0.tar.gz -
Subject digest:
4e7874201d13a19be87b26f11d09319678a858ffd37b67567f514a83ae2e76a3 - Sigstore transparency entry: 1963053549
- Sigstore integration time:
-
Permalink:
MIC-DKFZ/nnInteractive@b437bd9ecdb940177a1ee6246fcdfa4efefef615 -
Branch / Tag:
refs/tags/v2.5.0 - Owner: https://github.com/MIC-DKFZ
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b437bd9ecdb940177a1ee6246fcdfa4efefef615 -
Trigger Event:
push
-
Statement type:
File details
Details for the file nninteractive_client-2.5.0-py3-none-any.whl.
File metadata
- Download URL: nninteractive_client-2.5.0-py3-none-any.whl
- Upload date:
- Size: 25.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e41b3666951ea812a6960ed3d0bdc208c0663a48deae4c769686b704163bd0d
|
|
| MD5 |
2231dfa5ed489c69f0041d9e6da4ad97
|
|
| BLAKE2b-256 |
05370c49d9a828d26500ee08ec143b4b4297a862cf59097e9fd161e810417729
|
Provenance
The following attestation bundles were made for nninteractive_client-2.5.0-py3-none-any.whl:
Publisher:
publish.yml on MIC-DKFZ/nnInteractive
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nninteractive_client-2.5.0-py3-none-any.whl -
Subject digest:
6e41b3666951ea812a6960ed3d0bdc208c0663a48deae4c769686b704163bd0d - Sigstore transparency entry: 1963053642
- Sigstore integration time:
-
Permalink:
MIC-DKFZ/nnInteractive@b437bd9ecdb940177a1ee6246fcdfa4efefef615 -
Branch / Tag:
refs/tags/v2.5.0 - Owner: https://github.com/MIC-DKFZ
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b437bd9ecdb940177a1ee6246fcdfa4efefef615 -
Trigger Event:
push
-
Statement type: