Xobjects

Latest version: v0.4.2

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

Scan your dependencies

Page 4 of 9

0.1.30

**Changes:**

- Minor linting

**Full Changelog**: https://github.com/xsuite/xobjects/compare/v0.1.28..v0.1.30

0.1.28

**Changes:**

- Implement `to_nparray` and `to_json` and add suitable tests for xobjects. The method `to_json` returns a dict that is json-compliant from which the xobjects can be regenerated simply by passing the dict to the constructor.
- Avoid memcopy (where possible) in a hybrid class.
- Make contexts visible in test printout. Parametrize tests over contexts simply by adding `for_all_test_contexts` or `for_all_test_contexts(excluding: Iterable[str] | str)` on them, the context is passed as `test_context` to the test.
- Minor fixes of typos.

**Full Changelog**: https://github.com/xsuite/xobjects/compare/v0.1.27...v0.1.28

0.1.27

**Changes:**
- Add _update method to class to avoid overwriting arrays.
- Ensure that NULL is defined in pyopencl contexts.

**Full Changelog**: https://github.com/xsuite/xobjects/compare/v0.1.26...v0.1.27

0.1.26

**Changes:**
- Fix: pyopencl deprecated syntax

**Full Changelog**: https://github.com/xsuite/xobjects/compare/v0.1.25...v0.1.26

0.1.25

**Changes:**
- Version number accessible as xobjects.__version__
- Fix in Array C API generation
- Buffer/context consistency check on allocate_on_buffer

0.1.24

**Changes:**
- Faster array initialisation
- Introduced xobjects.get_a_buffer function

Page 4 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.