python-blosc2
python-blosc2 copied to clipboard
The `blosc2.NDArray.__getitem__` method uses ndindex, which consumes a lot of time. This `__getitem__` is used for each block and each blosc2.NDArray operand in a LazyUDF computed with prefilters or postfiters....
Hey there, first and foremost I would like to express my gratitude for this amazing work! It's super fast + addresses exactly the pain points that have been plaguing us...
We are encountering occasional segfaults in our docker containers while compressing data through blosc2 library. Most of the runs everything works just fine but multiple times a day the container...
Hello again, it could be interesting to pass the `vlmeta` parameter in the `kwargs` (passing the `meta` parameter in `kwargs` is already supported)? I'm interested because I'm defining a codec...
When running some tutorial like https://github.com/Blosc/Python-Blosc2/blob/main/doc/getting_started/tutorials/02.ndarray-basics.ipynb with the new Jupyter NoteBook version, when visualising the content of a big array, the output is the whole data. This produces that in...
I did some attempt at creating wheels for WASM, and had some (mixed) experiences with Pyodide and scikit-build-core: 1) Pyodide needs version 0.23.4 (latest 0.24.1 does not work: https://github.com/pyodide/pyodide/issues/4287) 2)...
The wheels that we build for python-blosc2 also come with the blosc2 library and include files to be able for other projects to link with the library (see e.g. https://www.blosc.org/posts/new-blosc-wheels/)....
When building the Fedora package for version 2.2.2, s390x fails with: ``` ============================= test session starts ============================== platform linux -- Python 3.12.0b4, pytest-7.3.2, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/python-blosc2-2.2.2...
Implementing this [sliding_window_view](https://numpy.org/devdocs/reference/generated/numpy.lib.stride_tricks.sliding_window_view.html) capability would open the door to many interesting features (e.g. computing means for sliding windows easily).
The next example should work. ``` import blosc2 shape = (0, 0) # Create an array a = blosc2.zeros(shape, chunks=(10, 10), blocks=(5,5)) a.resize((5,5)) # Get slice as a NumPy array...