Blosc/python-blosc2

Add subclass for decompressed arrays

Open

#464 opened on Sep 9, 2025

View on GitHub
 (0 comments) (1 reaction) (0 assignees)Python (47 forks)auto 404
good first issue

Repository metrics

Stars
 (207 stars)
PR merge metrics
 (PR metrics pending)

Description

Following this comment, add a thinly wrapped native Blosc2 class for decompressed arrays, which are currently just plain NumPy arrays. Would have to support certain additional operations and comparisons (==, __array_namespace__()), but it will inherit most of the useful machinery directly from NumPy.

Would have to change np.empty references for loading slices etc. from C functions in the code base, possibly some other things.

Contributor guide