python-blosc2 icon indicating copy to clipboard operation
python-blosc2 copied to clipboard

Expose `blosc2_schunk_append_file` to Python API [Feature request]

Open barakugav opened this issue 5 months ago • 2 comments

Hey and thanks in advance for the support!

I use blosc2 to write multiple small arrays into files, and I want to reduce the number of files. I saw there is a C function that appends an SChunk to a file, blosc2_schunk_append_file, but couldn't find a way to call it from the Python API. Will it be possible to expose such function? or support it as a mode in blosc2.save? We already have the option to load arrays from files with offset, so an option to append seems logical to me.

Thanks again ❤️

barakugav avatar Jul 30 '25 10:07 barakugav

Hi Barak. Thanks for the suggestion, I like it. However, we have a lot on our plate right now, and a feature like this requires significant time and focus to implement properly. To help us accelerate its development, would you consider supporting the project financially? You can find more information here: https://www.blosc.org/pages/blosc-in-depth/#support-blosc

FrancescAlted avatar Aug 01 '25 08:08 FrancescAlted

I understand, thanks for the support. I am an individual, so maybe I will try to contribute it myself 😄

barakugav avatar Aug 14 '25 18:08 barakugav