展示HN:一个用于CSV/TSV/Excel/Parquet的三工具ETL管道,使用Go语言编写
我创建了一套小型的 Go 工具三部曲:
- fileprep — 使用结构体标签进行预处理和验证(如修剪、替换、规范化等)
- fileframe — 一个轻量级、不可变的数据框架,用于过滤、映射和分组
- filesql — 直接在 CSV/TSV/LTSV/Excel/Parquet 上运行 SQL(底层使用 SQLite)
代码库:
- [fileprep](https://github.com/nao1215/fileprep)
- [fileframe](https://github.com/nao1215/fileframe)
- [filesql](https://github.com/nao1215/filesql)
查看原文
I built a small trilogy of Go tools:<p>- fileprep — preprocessing & validation using struct tags (trim, replace, normalize, etc.)<p>- fileframe — a lightweight, immutable DataFrame for filtering, mapping, grouping<p>- filesql — run SQL directly on CSV/TSV/LTSV/Excel/Parquet (SQLite under the hood)<p>Repos:<p>- <a href="https://github.com/nao1215/fileprep" rel="nofollow">https://github.com/nao1215/fileprep</a><p>- <a href="https://github.com/nao1215/fileframe" rel="nofollow">https://github.com/nao1215/fileframe</a><p>- <a href="https://github.com/nao1215/filesql" rel="nofollow">https://github.com/nao1215/filesql</a>