Skip to content

Commit 91a5dcd

Browse files
committed
Getting ready for release 0.1.0
1 parent c674637 commit 91a5dcd

File tree

5 files changed

+23
-15
lines changed

5 files changed

+23
-15
lines changed

ANNOUNCE.rst

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,19 @@ Announcing python-blosc2 0.1.0
44
Changes from python-blosc to python-blosc2
55
------------------------------------------
66

7-
* The functions `compress_ptr` and `decompress_ptr` are replaced by pack and unpack since Pickle protocol 5 comes with out-of-band data.
8-
* The function `pack_array` is equivalent to `pack`, which accepts any object with attributes `itemsize` and `size`.
9-
* On the other hand, the function `unpack` doesn't return a numpy array whereas the `unpack_array` builds that array.
10-
* The `blosc.NOSHUFFLE` is replaced by the `blosc2.NOFILTER`
11-
* A bytearray or NumPy object can be passed to the `blosc2.decompress` function to store the decompressed data.
12-
13-
14-
15-
7+
* The functions `compress_ptr` and `decompress_ptr` are replaced by pack and unpack since Pickle
8+
protocol 5 comes with out-of-band data.
9+
* The function `pack_array` is equivalent to `pack`, which accepts any object with attributes `itemsize`
10+
and `size`.
11+
* On the other hand, the function `unpack` doesn't return a numpy array whereas the `unpack_array`
12+
builds that array.
13+
* The `blosc.NOSHUFFLE` is replaced by the `blosc2.NOFILTER`, but for backward
14+
compatibility `blosc2.NOSHUFFLE` still exists.
15+
* A bytearray or NumPy object can be passed to the `blosc2.decompress` function to store the
16+
decompressed data.
1617

1718
In this release the package is compiled using the scikit-build tool
18-
for a better integration
19-
with the C dependencies.
20-
19+
for a better integration with the C dependencies.
2120

2221
For more info, you can have a look at the release notes in:
2322

@@ -38,7 +37,6 @@ via a memcpy() OS call. Blosc main goal is not just to reduce the
3837
size of large datasets
3938
on-disk or in-memory, but also to accelerate memory-bound computations.
4039

41-
4240
python-blosc2 is a pythonic wrapper for the c-blosc2 library.
4341

4442

@@ -63,5 +61,10 @@ [email protected]
6361
http://groups.google.es/group/blosc
6462

6563

64+
## Tweeter feed
65+
66+
Please follow @Blosc2 to get informed about the latest developments.
67+
68+
6669
Enjoy Data!
6770
- The Blosc Development Team

RELEASE_NOTES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ return a numpy array whereas the `unpack_array`
1515
builds that array.
1616

1717
* The `blosc.NOSHUFFLE` is replaced
18-
by the `blosc2.NOFILTER`
18+
by the `blosc2.NOFILTER`, but for backward
19+
compatibility `blosc2.NOSHUFFLE` still exists.
1920

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

blosc2/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
MAX_TYPESIZE,
2020
MIN_HEADER_LENGTH,
2121
NOFILTER,
22+
NOSHUFFLE,
2223
SHUFFLE,
2324
TRUNC_PREC,
2425
VERSION_DATE,
@@ -55,6 +56,7 @@
5556
# Filter names
5657
filter_names = {
5758
NOFILTER: "nofilter",
59+
NOSHUFFLE: "noshuffle",
5860
SHUFFLE: "shuffle",
5961
BITSHUFFLE: "bitshuffle",
6062
DELTA: "delta",

blosc2/blosc2_ext.pyx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ cdef extern from "<stdint.h>":
3232
cdef extern from "blosc2.h":
3333
ctypedef enum:
3434
BLOSC_NOFILTER
35+
BLOSC_NOSHUFFLE
3536
BLOSC_SHUFFLE
3637
BLOSC_BITSHUFFLE
3738
BLOSC_DELTA
@@ -299,6 +300,7 @@ ZSTD = BLOSC_ZSTD
299300

300301
# Filters
301302
NOFILTER = BLOSC_NOFILTER
303+
NOSHUFFLE = BLOSC_NOSHUFFLE
302304
SHUFFLE = BLOSC_SHUFFLE
303305
BITSHUFFLE = BLOSC_BITSHUFFLE
304306
DELTA = BLOSC_DELTA

blosc2/c-blosc2

Submodule c-blosc2 updated 169 files

0 commit comments

Comments
 (0)