Registry / ai-ml / zhinst-utils

zhinst-utils

JSON →
library0.7.2pypypiunverified

Zurich Instruments utilities for device control, data acquisition, and lab automation. Compatible with Python >=3.7, latest version 0.7.2. Released irregularly.

pip install zhinst-utils
INSTALL
IMPORT
SIG · ZHINST-UTILS
Z
zhinst-utils
ai-mlpythonv0.7.2
Install
4.4s avg
Import
Disk
135MB
Pass rate
5/ 10
Env Coverage5 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.7.2 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
build_error
glibc
py 3.103.95 runs
installs and imports cleanly · install 4.4s · import 0.000s · 134MB
135MB installed
● package 135MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

get_zi_device
from zhinst.utils import get_zi_device
from zhinst.utils import get_zi_device

Quick connection to a Zurich Instruments device using environment variable for device ID.

import os from zhinst.utils import get_zi_device device_id = os.environ.get('ZI_DEVICE_ID', 'dev1234') try: device = get_zi_device(device_id) print(f"Connected to {device}") except Exception as e: print(f"Connection failed: {e}")
Debug
Known issues
breakingVersion 0.5.0 renamed many functions and removed deprecated aliases. Older imports like from zhinst.utils import lockin will fail.
fix
Update imports to current API: from zhinst.utils import get_zi_device, etc.
affects: >=0.5.0
deprecatedThe function `zhinst.utils.get_zi_devices()` is deprecated in favor of `zhinst.utils.discover_devices()`.
fix
Use `discover_devices()` instead.
affects: >=0.6.0
gotchaThe package does not install zhinst-core automatically; you must install it separately.
fix
Run `pip install zhinst-core` or use `pip install zhinst-utils[all]`.
affects: all
Upgrade
Version history
0.7.2latest on PyPI · released Apr 27, 2026
Audit
Dependencies
zhinst-corerequiredCore API for Zurich Instruments devices
numpyrequiredNumerical processing
matplotliboptionalPlotting utilities
Agent activity
67 hits · last 30 days
node
58
OpenAI (training)
1
Resources