Sdss-drift

Latest version: v1.1.0

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

Scan your dependencies

Page 1 of 4

1.1.0

🚀 New

* Allow to set the connection timeout when initialising `Drift`.

⚙️ Engineering

* Lint with `ruff`.
* Update codebase to work with `pymodbus` 3.5+.

1.0.2

🔧 Fixed

* Pin `pymodbus<3.2.0`. This versions removes the `protocol` attribute in `AsyncioModbusTcpClient` and breaks `drift`. It will be fixed in a future version.

1.0.1

🔧 Fixed

* Fixed reconnection. `pymodbus` now set the host to `None` after the transport closes, so it needs to be rested before reconnecting.

1.0.0

🚀 New

* Dropped Python 3.7 and add support for 3.11 with `pymodbus>=3.0.0`.

0.4.5

🔧 Fixed

* Release lock if connection fail in `Drift.__aenter__`.

0.4.4

🚀 New

* `Drift()` can now be initialised with `lock=False` which will disable the locking of the client while the context manager is used. In this mode, multiple concurrent connections to the client are allowed.
* Added `Drift.read_devices()` which allows reading multiple devices concurrently with only one connection to the client.
* `Drift.devices` returns a list of all connected devices.

✨ Improved

* `Module` does not require to pass a number of channels anymore. In fact the number of channels is never used so it may be deprecated in the future.
* Add poetry dependency groups.

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.