Blosc2

Latest version: v3.0.0

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

Scan your dependencies

Page 7 of 17

2.7.0

* Updated to latest C-Blosc2 2.15.0.

* Deprecated `LazyExpr.evaluate()`.

* Fixed `_check_rc` function. See https://github.com/Blosc/python-blosc2/issues/187.

2.6.2

* Protection when platforms have just one CPU. This caused the
internal number of threads to be 0, producing a division by zero.

* Updated to latest C-Blosc2 2.14.3.

2.6.1

* Updated to latest C-Blosc2 2.14.1. This was necessary to be able to
load dynamics plugins on Windows.

2.6.0

* [EXP] New evaluation engine (based on numexpr) for NDArray instances.
Now, you can evaluate expressions like `a + b + 1` where `a` and `b`
are NDArray instances. This is a powerful feature that allows for
efficient computations on compressed data. See this [example](https://github.com/Blosc/python-blosc2/blob/main/examples/ndarray/eval_expr.py) to see how this works.
Thanks to omaech for her help in the `pow` function.

* As a consequence of the above, there are many new functions to operate with
NDArray instances. See the function section in [NDArray API](https://www.blosc.org/python-blosc2/reference/ndarray_api.html#functions) for more information.

* Support for NumPy 2.0.0 is here! Now, the wheels are built with NumPy 2.0.0rc1.
Please tell us in case you see any issues with this new version.

* Add `**kwargs` to `load_tensor()` function. This allows to pass additional parameters
to the deserialization function. Thanks to jasam-sheja.

* Fix `vlmeta.to_dict()` not honoring tuple encoding. Thanks to ivilata.

* Check that chunks/blocks computation does not allow a 0 in blocks. Thanks to ivilata.

* Many improvements in ruff rules and others. Thanks to DimitriPapadopoulos.

* Remove printing large arrays in notebooks (they use too much RAM in recent versions of Jupyter notebook).

* Updated to latest C-Blosc2 2.14.0.

2.5.1

* Updated to latest C-Blosc2 2.13.1.

* Fixed bug in `b2nd.h`.

2.5.0

* Updated to latest C-Blosc2 2.13.0.

* Added the filter `INT_TRUNC` for integer truncation.

* Added some optimizations for zstd.

* Now the grok library is initialized when loading the
plugin from C-Blosc2.

* Improved doc.

* Support for slices in ``blosc2.get_slice_nchunks()`` when using SChunk
objects.

Page 7 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.