Expose `blosc2_schunk_append_file` to Python API [Feature request]
- 主要言語
- Python
- スター
- 211
- フォーク
- 58
- 平均マージ
- 1日 17時間
- マージ済み PR(30日)
- 6
説明
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 ❤️
コントリビューションガイド
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- c, python
- 領域
- api, data
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100