Labbench

Latest version: v0.43.0

Safety actively analyzes 714919 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 7

0.24.0

Added
- `set_default_visa_backend` allows changing the global visa default, for example to `pyvisa-py` to with the "py" argument

Changed
- Switch to pyproject.toml via pdm for packaging and build
- `pythonnet` is now an optional dependency
- minimum python version bumped to 3.8 for consistent dependency versioning
- added support for python 3.11

Deprecated
- Deprecated `__imports__` from Device objects to avoid dangerous use of `globals`. Each expensive or platform-specific module import should now be performed inside the method that accesses it.

0.23.4

Changed
- Delayed some imports of backend-specific libraries and pandas in order to reduce labbench import time
- Corrected a linux import bug

0.23.2

Changed
- Corrected another calibrate bug in which calibrate_from_table was not initialized, this time in setting values

0.23.1

Changed
- A separate log of the Rack input parameters at the time of each new_row is now output in data loggers
- Corrected a calibration bug in which calibrate_from_table was not initialized

0.23

Added
- `lb.trait_info` function: returns a dictionary of all trait definitions in a `lb.Device` instance
- numeric trait types now have `calibrate_from_table` and `calibrate_from_expression` methods

Changed
- The cli is now packaged in the cli directory to skip some unecessary imports
- Many bugfixes in the cli
- Corrected an exception to the call signature of Rack methods
- All trait events are now logged
- Numerous small bugfixes
- Corrected misreporting 'min' and 'max' as None
- Device.resource is now defined with cache=True
- the CLI tool now drops to a pdb prompt on exceptions in `run` or `open`
- decode bytes to UTF-8 in metadata summary export, to avoid a json error
- exceptions are now raised after all parent `close` methods have been invoked in Rack or Device

0.22.2

Changed
- Fixed some bugs generating config files with `labbench` cli

Page 4 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.