Sdss-lvmnps

Latest version: v1.1.0

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

Scan your dependencies

Page 1 of 2

1.1.0

✨ Improved

* Use `LVMActor` class.
* Added `_check_internal` and `_troubleshoot_internal` methods for automated troubleshooting.
* Speed up checks when verification fails.

1.0.3

✨ Improved

* Added `all-off` command.

1.0.2

✨ Improved

* It's now possible to call `status` with an outlet and a summary of the status for only that outlet will be issued.

🔧 Fixed

* Issue an NPS refresh before issuing any status.

📖 Documentation

* Added section on how to use the library.

1.0.1

✨ Improved

* Added `NPSClient.all_off()` to turn off all outlets at once.

1.0.0

🔥 Breaking changes

* [36](https://github.com/sdss/lvmnps/pull/36) Complete rewrite, mostly to simplify the code and to take advantage of some additional features in the DLI REST API and to support calling DLI user scripts.
* The main difference in this version is that the code has been significantly simplified by requiring that one instance of the `lvmnps` actor can only control one NPS. This means that all the `switch` flags and parameters have been deprecated.
* The code has been simplified. It still follows the approach of a core, abstract `NPSClient` class with multiple implementations for different switches, but some options that were not used have been removed.
* It's now possible to switch multiple outlets at the same time. This takes advantage of the DLI and NetIO implementations to turn on several outlets as quickly as possible without risking an in-rush overcurrent.
* The DLI client now allows to command user functions (scripts).

0.4.0

🚀 New

* [34](https://github.com/sdss/lvmnps/pull/34) Add support for ``netio`` devices.

✨ Improved

* Bump `CLU` to 2.1.0.
* Various Docker image and build modifications for deployment in Kubernetes.
* Lock connections to DLI during a request.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.