Type to start searching

Enlightened Measurement
for Modern Science

PyTestLab is a modern Python toolbox for laboratory test-and-measurement automation, data management, and analysis. Move faster, build smarter, and trust your results.

A Toolbox Built for Velocity

Stop wrestling with legacy APIs. Start building reproducible experiments.

Fast by Design

Run parallel tests and non-blocking I/O with native efficient background tasks and I/O. Maximize instrument uptime and slash test execution times.

Unified Driver Layer

A consistent, high-level API across oscilloscopes, PSUs, DMMs, and more. Swap instruments without rewriting your test logic.

Declarative & Validated

Define instruments and benches with simple YAML files, validated by Pydantic. Catch configuration errors before they hit the hardware.

An API Designed for Flow

Follow the journey from a single command to a complete, automated experiment.

1. Hello, Instrument

Start simple. Connect to any instrument with one line. PyTestLab's `AutoInstrument` handles the backend, even providing a full simulation for development and CI.

2. Define Your Bench

Describe your entire lab bench in a simple, readable YAML file. Specify instruments, connection details, and even safety limits to prevent accidents.

3. Run Your Bench

Bring your bench to life. The `Bench` context manager handles all connections and provides access to your instruments by the aliases you defined. Safety limits are enforced automatically.

4. Design Experiments

Go beyond simple commands. Use the declarative `MeasurementSession` to design complex experiments, sweep multiple parameters, and automatically collect structured data, ready for analysis.

Python

Ready to Accelerate Your Research?

PyTestLab is ready for your lab. Get started today and transform how you measure, test, and analyze.