Releases: Blosc/python-blosc2
Release 0.4.0
Changes from 0.3.2 to 0.4.0
-
New
pack_array2()andunpack_array2()functions for packing NumPy arrays. Contrarily topack_array()andunpack_array()counterparts, the new ones allow for compressing arrays larger than 2 GB in size. -
New
Scunk.to_cframe()andblosc2.from_cframe()methods for serializing/deserialzingSChunkinstances. -
New
Schunk.get_slice(),SChunk.__getitem__()andSChunk.__setitem__()methods for getting/setting slices from/toSChunkinstances. -
The
compcodeparameter has been renamed tocodec. ANameErrorexception will be raised when using the old name. Please update your code when you see this exception. -
More doc restructurings. Hopefully, they are more pleasant to read now :-)
Release 0.3.2
Changes from 0.3.1 to 0.3.2
-
Several leaks fixed. Thanks to Christoph Gohlke.
-
Internal C-Blosc2 updated to 2.3.1
Release 0.3.0
Changes from 0.2.0 to 0.3.0
-
Added a new
blosc2.open(urlpath, mode)function to be able to open persisted super-chunks. -
Added a new tutorial in notebook format (
examples/tutorial-basics.ipynb) about the basics of python-blosc2. -
Internal C-Blosc2 updated to 2.2.0
Release 0.2.0
Release notes
Changes from python-blosc2 0.1.10 to python-blosc2 0.2.0
- Internal C-Blosc updated to 2.0.4.
New super-chunk implementation
-
New
SChunkclass that allows to create super-chunks.
This includes the capability of storing data in 4
different ways (sparse/contiguous and in memory/on-disk),
as well as storing variable length metalayers. -
Also, during the contruction of a
SChunkinstance,
an arbitrarily large data buffer can be given so that it is
automatically split in chunks and those are appended to the
SChunk. -
See
examples/schunk.pyandexamples/vlmeta.pyfor some examples. -
Documentation of the new API is here: https://python-blosc2.readthedocs.io
This release is the result of a grant offered by
the Python Software Foundation to Marta Iborra.
A blog entry was written describing the difficulties and relevant
aspects learned during the work:
https://www.blosc.org/posts/python-blosc2-initial-release/
Release 0.1.10
Changes from python-blosc2 0.1.9 to python-blosc2 0.1.10
- Release with C-Blosc 2.0.2 sources and binaries.
Release 0.1.9
Changes from python-blosc2 0.1.8 to python-blosc2 0.1.9
- Release with C-Blosc 2.0.1 sources and binaries.
Release 0.1.7
Changes from python-blosc2 0.1.5 to python-blosc2 0.1.7
-
Headers and binaries for the C-Blosc2 library are starting
to being distributed inside wheels. -
Internal C-Blosc2 submodule updated to 2.0.0-rc2.
-
Repeating measurements 4 times in benchs so as to get more
consistent figures.
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_ptranddecompress_ptr
are replaced by pack and unpack since
Pickle protocol 5 comes with out-of-band data. -
The function
pack_arrayis equivalent topack,
which accepts any object with attributesitemsize
andsize. -
On the other hand, the function
unpackdoesn't
return a numpy array whereas theunpack_array
builds that array. -
The
blosc.NOSHUFFLEis replaced
by theblosc2.NOFILTER, but for backward
compatibilityblosc2.NOSHUFFLEstill exists. -
A bytearray or NumPy object can be passed to
theblosc2.decompressfunction to store the
decompressed data.