Blosc2

Latest version: v3.0.0

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

Scan your dependencies

Page 17 of 17

0.1.5

Fix some issues with PyPI packaging. Wheels are here!
See: https://github.com/Blosc/python-blosc2/issues/9

0.1.1

Initial release

python-blosc2 aims to leverage the new C-Blosc2 API so as to support super-chunks, serialization and all the features introduced in C-Blosc2. This is work in process and will be done incrementally in future releases.

Note: python-blosc2 is meant to be backward compatible with python-blosc data. That means that it can read data generated with python-blosc, but the opposite is not true (i.e. there is no forward compatibility).

Changes from python-blosc to python-blosc2

* The functions `compress_ptr` and `decompress_ptr`
are replaced by pack and unpack since
Pickle protocol 5 comes with out-of-band data.

* The function `pack_array` is equivalent to `pack`,
which accepts any object with attributes `itemsize`
and `size`.

* On the other hand, the function `unpack` doesn't
return a numpy array whereas the `unpack_array`
builds that array.

* The `blosc.NOSHUFFLE` is replaced
by the `blosc2.NOFILTER`, but for backward
compatibility `blosc2.NOSHUFFLE` still exists.

* A bytearray or NumPy object can be passed to
the `blosc2.decompress` function to store the
decompressed data.

Page 17 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.