# Why we open-sourced our Instro Python library

> Write your test logic once. Swap the hardware. Change one line of code.

Source: https://nominal.io/blog/why-the-instrumentation-library-exists

1. [Blog](https://nominal.io/blog.md)
2. [Engineering](https://nominal.io/blog.md?category=engineering)

# Why we open-sourced our Instro Python library

Write your test logic once. Swap the hardware. Change one line of code.

NominalJul 08, 2026

## Why the instrumentation library exists

Hardware engineers should be able to quickly and reliably talk to their instrumentation. Somewhere along the way it got complicated: five instruments from different vendors, multiple SCPI dialects, and a stack of driver code standing between an engineer and the test they're actually trying to run.

That's the tax of testing nobody tells you. A new power supply shows up on the bench, and before any real test logic gets written, someone has to relearn that instrument's quirks from scratch. Do it once, you can muscle through. Do it for every new device, and you’re no longer focused on driving progress.

![test](https://cdn.sanity.io/images/xupoa92h/production/486a41c22a933c1ff1a880d1f1f374a43bc4f0c3-4000x2250.png)

We built [Instro](https://instro.nominal.io/) to close that gap. It's an open source Hardware Abstraction Layer written in Python that distills instrument control into what _actually_ matters. You get to focus on the work that moves the needle while Instro handles the low-level driver calls. Write your test logic once using one of several generic device categories, swap the actual hardware driver under the hood with a one-line code change. Simple. Fast. Reliable. Repeatable.

## Why Python, specifically?

It is widely considered to be the most accessible programming language around, and provides hardware engineers a well trodden path into the world of software engineering without sacrificing capability. Leverage modern tools with a giant community of engineers and developers solving the same problems.

It's not a replacement for LabVIEW, but the days of LLMs are pushing engineers to use tools that help them move faster. Python provides a _vast_ set of functionality with an even bigger community well positioned to handle the workloads that LabVIEW has traditionally owned.

## What this actually enables

[Watch the video on YouTube](https://youtu.be/l8sUYvgwfbc)

_What this looks like in practice: two setups, different PSU and DMM vendors on each, sharing a single DAQ. Move the cables, change one line of code, rerun the test, get the same result. That’s the power of an instrument library + abstraction layer._ 

Instro is open source. Anyone with hardware to test, from avionics teams to academic labs, can contribute a hardware driver. And if we don’t support a specific device, [we're backing that up by adding real hardware](https://nominal.io/blog/instro-regression-rack.md). 

The best part? You don't need any of that hardware to find out if this is useful to you. Instro ships with a built-in SCPI simulator: install it, drive a simulated power supply end to end, and see the abstraction for yourself. No bench required.

**pip install instro** It takes about five minutes. [Try the Quickstart →](https://instro.nominal.io/python/quickstart/)

- [Why the instrumentation library exists](https://nominal.io/blog/why-the-instrumentation-library-exists.md#why-the-instrumentation-library-exists)
- [Why Python, specifically?](https://nominal.io/blog/why-the-instrumentation-library-exists.md#why-python-specifically)
- [What this actually enables](https://nominal.io/blog/why-the-instrumentation-library-exists.md#what-this-actually-enables)

## Further reading

[All posts](https://nominal.io/blog.md)

Read next

EngineeringAug 06, 2026

### How Do You Catch Battery Degradation Before It Becomes a Failure?

A battery test deviates at hour 5\. Nobody catches it until days later. By then a week of lab time is gone for a test that was never going to pass. That's the shape of the problem for engineers running cycle-life and characterization campaigns on packs.

[Read the post](https://nominal.io/blog/battery-testing.md)
