Registry / devops / zhinst-comms

zhinst-comms

JSON →
library4.0.1.2606357pypypiunverified

Zurich Instruments internal Python bindings for Cap'n Proto communication layer. Version 4.0.1.2606357, pre-release or private package, no public changelog. Release cadence unknown.

pip install zhinst-comms
INSTALL
IMPORT
SIG · ZHINST-COMMS
Z
zhinst-comms
devopspythonv4.0.1.2606357
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

CapnpData
✓ from zhinst import CapnpData
✗ from zhinst.comms import CapnpData

Basic connection to Zurich Instruments device using environment variables for address.

from zhinst.comms import Connection import os host = os.environ.get('ZI_HOST', 'localhost') port = int(os.environ.get('ZI_PORT', '8004')) conn = Connection(host, port) print('Connected to', host, port) conn.close()
Debug
Known issues
breakingVersion 4.x drops support for Python < 3.10. Requires Python >= 3.10.
fix
Upgrade Python to >= 3.10.
affects: 4.x
deprecatedThe function `zi_connect` was deprecated in v4.0.0 in favor of `Connection` class.
fix
Replace `zi_connect(host, port)` with `Connection(host, port)`.
affects: >=4.0.0
gotchaPackage name contains a hyphen (`zhinst-comms`) but import uses underscore (`zhinst.comms`). Many users try `import zhinst_comms` incorrectly.
fix
Use `from zhinst.comms import ...` not `import zhinst_comms`.
affects: all
Upgrade
Version history
4.0.1.2606357latest on PyPI · released May 15, 2026
Audit
Dependencies
pycapnprequiredRequired Cap'n Proto bindings
numpyoptionalData handling
Agent activity
35 hits · last 30 days
node
30
Anthropic
1
Resources

No resource links recorded.

zhinst-comms — pip install zhinst-comms · libregistry