Labbench

Latest version: v0.37.0

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

Scan your dependencies

Page 3 of 7

0.28

Added
- compartmentalize backend property implementation into `PropertyKeyingBase`, a backend-specific decorator
- implement `property.visa_keying` and `property.message_keying`
- `Trait.adopt` decorator adjusts parameters of inherited traits in `Device` subclasses
- support for pattern-based automatic connection to VISA instruments with new `VISADevice.identity_pattern` value trait
- `visa_list_identities` lists the '*IDN?' response for all devices that are enumerated by `visa_list_resources`
- `visa_list_resources` lists resources available for the default `VISADevice` resource manager

Changed
- remove the `remap` keyword from `Trait`
- support has been removed for adjusting `Device` child class trait default values by passing keyword arguments (use `Trait.adopt` decorators instead)

Removed
- `Trait.remap` (now implemented by `PropertyKeyingBase`, for backends that support it)
- `VISADevice.list_resources` (now a separate function `visa_list_resources`)

0.27

Changed
- Moved flake8 config from `setup.cfg` to `.flake8` since it is only used for that configuration
- Corrected missing h5py dependency

0.26

Changed
- Corrected an exception in `VISADevice.list_resources`
- Set __doc__ for traits, and remove the list of traits from Device __init__ docstrings

0.25

Added

Changed
- Addressed warning emitted by subprocess module on use of ShellBackend
- Set __doc__ for traits, and remove the list of traits from Device __init__ docstrings

Deprecated

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

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.