--- id: zhinst-toolkit version: "1.4.0" license: MIT license_treatment: permissive maintenance: active --- # zhinst-toolkit — Zurich Instruments Toolkit High Level API License: permissive · Maintenance: active · Downloads: 80.1K/mo ## What it is and what it does zhinst-toolkit is a high-level Python driver for Zurich Instruments devices, built on top of the native zhinst-core API. It translates low-level instrument commands into pythonic abstractions, making it easier to write control and measurement scripts without wrestling with the underlying LabOne protocol. The package depends on zhinst-core for actual device communication, plus jsonschema, numpy, and pyelftools for configuration validation and data handling. The toolkit is intended as a full replacement for direct zhinst-core usage, offering a more intuitive API for scientists and engineers who need to automate Zurich Instruments hardware. It requires LabOne software 25.04 or later to be installed separately on your machine—this is not a pip dependency but a system-level prerequisite. The package is marked stable and actively maintained, supporting Python 3.10 through 3.14. Use it for: - Automate lock-in amplifier measurements and parameter sweeps in a Python script without writing low-level protocol calls. - Build experiment control workflows that interact with multiple Zurich Instruments devices in a single pythonic session. - Integrate Zurich Instruments hardware into larger scientific data acquisition pipelines using familiar Python abstractions. - Prototype and test instrument configurations interactively in Jupyter notebooks with a cleaner API than zhinst-core. - Replace legacy LabOne scripting with modern Python-based instrument automation for reproducibility. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. zhinst-toolkit provides a high-level Python interface to Zurich Instruments devices, wrapping the lower-level zhinst-core API into a more pythonic interface for instrument control and data acquisition. Yes, if you own or have access to Zurich Instruments hardware and need to control it from Python. The package is stable, actively maintained, has low install friction, and offers a genuine usability improvement over the lower-level zhinst-core API. The main prerequisite—LabOne 25.04+ installed locally—is a system-level requirement, not a blocker within Python. No known security vulnerabilities. ## Install pip install zhinst-toolkit uv add zhinst-toolkit poetry add zhinst-toolkit ## Installing zhinst-toolkit Before you install: Low install friction; pure Python wheel. Requires LabOne software 25.04 or later installed separately on the local machine—a system-level prerequisite, not a pip dependency. Repository is active with recent commits and stable maintenance status. License in practice: MIT license is permissive; you can use, modify, and distribute this package with minimal restrictions, provided you retain the license notice. Quickstart: pip install zhinst-toolkit import zhinst.toolkit as tk device = tk.Session().connect_device('DEVID') LabOne software version 25.04 or later must be installed locally and running; Python 3.10 or later required. Verify before relying: - Whether the package works with LabOne versions between 25.04 and the current release date. - Specific performance characteristics or throughput limits for data acquisition. - Whether remote LabOne installations are supported despite the recommendation against them. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 80.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags zurich instruments device control, labone python api wrapper, instrument communication python, zurich instruments toolkit, high level device driver python, scientific instrument interface, hardware control abstraction, hardware-control, scientific-instrumentation, labone [View on SkillFed](https://skillfed.io/packages/zhinst-toolkit) · [View on PyPI](https://pypi.org/project/zhinst-toolkit/)