Skip to main content
Nominal Instro SDK Logo

An open-source, vendor-agnostic Python library for interfacing with test equipment.

PyPI Downloads Docs Reference Community Discord

Quickstart

from instro.drivers import LabJackTSeriesDriver
# from instro.drivers import NIDAQDriver
from instro import InstroDAQ
from instro.lib import FilePublisher

pub = FilePublisher(format="jsonl", directory="/tmp/instro/")

daq = InstroDAQ(
  name       = "myDAQ",
  driver     = LabJackTSeriesDriver(device_id="1234"),
  publishers = [pub],
  #driver    = NIDAQDriver(device_id="Dev1") # swap drivers, same code
  )
daq.open()
daq.configure_voltage_input(
    physical_channel="AIN0", alias="ch_0", range_min=0, range_max=5
)
measurement = daq.read_analog()  # written to `publishers`
print(pub.file_path.read_text())

Installation

Basic

uv add instro
pip install instro

With Additional Packages

uv add "instro[all]"
pip install "instro[all]"

Available packages:

Instrument Type Package Contents
All all All drivers in this table
DAQ daq All DAQ drivers
nidaq NI DAQ package
mccdaq Measurement Computing (MCC) package
labjack LabJack package
I2C i2c All I2C packages
aardvark TotalPhase Aardvark package
EtherNet ethernetip EtherNet/IP support
OPC UA opcua OPC UA client and configured devices
Plotting plot Plotly publisher, with anywidget for live notebook plots
Other contrib Community-contributed drivers
unstable Experimental unstable modules
pymeasure Publish pymeasure instruments through instro

See Installation for more info.

Install the standalone OPC UA client with uv add instro-opcua or pip install instro-opcua.

Supported devices

Category Class Vendors
Power Supply InstroPSU B&K Precision (9115, 914X), EA Elektro-Automatik (PSB 10000-series), GW Instek (GPD-3303D), Keysight (E36100-series, N5700-series), Rigol (DP800-series), Siglent (SPD3303), TDK Lambda (Genesys), simulated
Multimeter InstroDMM Agilent 34401A, Keysight 34461A, Keithley 2400, Keithley 2750 (unstable), Fluke 8808A (unstable), Fluke 8845A (unstable), simulated
Arbitrary Waveform Generator InstroAWG Keysight (33521B), Rigol (DG1022Z)
Electronic Load InstroELoad B&K Precision (85xxB-series), EA Elektro-Automatik (PSB 10000-series), Rigol (DL3000-series)
Oscilloscope InstroScope Keysight (1200X-series, 3000T X-series (unstable)), Tektronix (2-series), Siglent (SDS1000X-E)
Flow Controller InstroFlowController Alicat MC-series
DAQ InstroDAQ Keysight 34980A, NI-DAQmx, LabJack T-series, MCC USB-series, DewesoftX (unstable)
I2C I2CInterface Total Phase Aardvark
Modbus ModbusDevice Any Modbus TCP / RTU device
Motor Controller InstroMotorController VESC 6 over CAN via python-can (unstable)
EtherNet/IP EtherNetIPDevice Allen-Bradley / CompactLogix-class PLCs

See Supported devices for more info.

Contributing

To work on instro itself, clone and install with uv:

git clone https://github.com/nominal-io/instro.git
cd instro
uv sync

The development environment includes the native EtherNet/IP and OPC UA packages and needs a Rust and C/C++ toolchain. See Contributing for prerequisites and checks.

License

Apache License 2.0. Third-party dependency notices and proprietary vendor runtime requirements are documented in NOTICE.

Metadata

Release files for instro 1.25.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for instro 1.25.0
File Size Uploaded Provenance Actions
instro-1.25.0.tar.gz 18.8 MB With provenance Details for instro-1.25.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for instro 1.25.0
File Interpreter ABI Platform Actions
instro-1.25.0-py3-none-any.whl Python 3 none any Details for instro-1.25.0-py3-none-any.whl

Total release size: 19.1 MB

Release files / instro-1.25.0.tar.gz

Download URL instro-1.25.0.tar.gz
Size 18.8 MB
Tags Source
SHA-256 checksum
How to use checksums
fe0bcbb330943ec761737cfbc7d578f54f49873a8d09909e1130abfd5bf84c5e
BLAKE2b-256 checksum
How to use checksums
84c7b7bcf13451cfd1e4352bd001409a40e043a04ca72e163d313338574ac764
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / instro-1.25.0-py3-none-any.whl

Download URL instro-1.25.0-py3-none-any.whl
Size 244.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6defc71a12259feef1e86d234e1e1da4e8145a9b9c744343cf86e640d2648ff2
BLAKE2b-256 checksum
How to use checksums
6e57ba34ede41d71f19758b1775ca138e8d020210668ab95c6300daa1b69f736
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Security for instro 1.25.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for instro-1.25.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.25.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page