Sdss-drift

Latest version: v1.2.0

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

Scan your dependencies

Page 2 of 4

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.

0.4.3

🎨 Engineering

* Use latest pre-release version of poetry core, do not require `setuptools`, and test for 3.10.

0.4.2

✨ Improved

* `Drift.from_config()` now accepts keyword arguments that are passed to `__init__()`.

0.4.1

🚀 New

* [9](https://github.com/sdss/drift/issues/9) `Device` now accepts a `data_type` argument that follows the same format as the [struct](https://docs.python.org/3/library/struct.html#format-characters) module and allows to cast the read raw value from unsigned 16-bit integer to a different type, before passing it to an adaptor.

0.4.0

💥 Breaking changes

* Device addresses now must include the offset (i.e., 40001 is not subtracted).

🚀 New

* Add proportional adaptor.

0.3.0

🚀 New

* Add the option to add an offset to the read value after applying the adaptor.

✨ Improved

* Updated documentation theme to ``furo``.

🔧 Fixed

* Fix case when linear adaptor range does not start at zero.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.