Expose `blosc2_schunk_append_file` to Python API [Feature request]
- Lenguaje dominante
- Python
- Estrellas
- 211
- Forks
- 58
- Merge medio
- 1 d 17 h
- PR fusionados (30 d)
- 6
Descripción
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 ❤️
Guía de contribución
Línea de trabajo
Start with the Python API around blosc2.save and the existing offset-based load support, then compare how the C function blosc2_schunk_append_file is exposed. The issue leaves open whether to add a direct API or a save mode; done means one supported append path with coverage for writing multiple arrays into a file.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- c, python
- Área
- api, data
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100