PyTestLab is a modern Python toolbox for laboratory test-and-measurement automation, data management, and analysis. Move faster, build smarter, and trust your results.
Stop wrestling with legacy APIs. Start building reproducible experiments.
Run parallel tests and non-blocking I/O with native efficient background tasks and I/O. Maximize instrument uptime and slash test execution times.
A consistent, high-level API across oscilloscopes, PSUs, DMMs, and more. Swap instruments without rewriting your test logic.
Define instruments and benches with simple YAML files, validated by Pydantic. Catch configuration errors before they hit the hardware.
Follow the journey from a single command to a complete, automated experiment.
Start simple. Connect to any instrument with one line. PyTestLab's `AutoInstrument` handles the backend, even providing a full simulation for development and CI.
Describe your entire lab bench in a simple, readable YAML file. Specify instruments, connection details, and even safety limits to prevent accidents.
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.
Go beyond simple commands. Use the declarative `MeasurementSession` to design complex experiments, sweep multiple parameters, and automatically collect structured data, ready for analysis.
PyTestLab is ready for your lab. Get started today and transform how you measure, test, and analyze.