Releases: Blosc/python-blosc2
Release 0.1.5
Fix some issues with PyPI packaging. Wheels are here!
See: #9
Release 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
anddecompress_ptr
are replaced by pack and unpack since
Pickle protocol 5 comes with out-of-band data. -
The function
pack_array
is equivalent topack
,
which accepts any object with attributesitemsize
andsize
. -
On the other hand, the function
unpack
doesn't
return a numpy array whereas theunpack_array
builds that array. -
The
blosc.NOSHUFFLE
is replaced
by theblosc2.NOFILTER
, but for backward
compatibilityblosc2.NOSHUFFLE
still exists. -
A bytearray or NumPy object can be passed to
theblosc2.decompress
function to store the
decompressed data.