DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-csv-lab

f

dsh-csv-lab

Discovered

CSV Data Toolbox: Split / Deduplicate / Field Validation / Clean / Merge / Convert to Excel, with Automatic Encoding and Delimiter Detection

Machine translated

@deepwhale-cn/dsh-csv-lab

Listed on dsh-plugin.org

CSV 数据工具箱:批量切分 / 去重 / 字段校验 / 清洗 / 合并 / 转 Excel,自动识别编码与分隔符。

不装会怎样

几十万行的 CSV 打不开、GBK 导出的表格全是乱码、合并多个表要手工对表头、手机号/日期错漏靠眼睛找——这些活 Excel 里做一遍要半天,还容易漏。

能做什么

子命令做什么
sniff识别编码(UTF-8/GBK/GB18030)、分隔符(逗号/制表符/分号)、是否有表头
split按行数切分大文件(默认每片 10000 行,保留表头)
dedupe整行去重,或 --key 姓名,手机号 按列去重
validate字段校验:必填、数字、日期、邮箱、手机号;输出 校验报告.json
clean去首尾空格、删空行、规范表头
merge合并目录内多个 CSV,按表头名映射,--source-col 加来源文件列
convertCSV → Excel(xlsx),或 Excel → CSV(每个工作表一个文件)

全部本地处理,不联网、不上传;默认输出到 <输入目录>/_输出,不改输入文件。

不能做什么

  • ❌ 不是数据库:不做跨表 JOIN、聚合查询、SQL;大文件是切分而不是索引查询;
  • ❌ 不做 Excel 公式重算、样式/图表/宏(只读写值);
  • ❌ 不猜测业务字段含义:校验规则由你通过 --required/--numeric/--date/--email/--phone 指定;
  • ❌ 不处理 XML/JSON/Parquet;不支持加密或损坏文件(会明确报错);
  • ❌ 分隔符/编码识别是启发式,极短文件可能识别错,可用 --json 看识别结果。

安装

dsh plugin --profile web add @deepwhale-cn/dsh-csv-lab

运行依赖本机 python3(转 Excel 另需 openpyxl,缺时会打印安装命令):

python3 -m pip install openpyxl

用法

dsh-csv-lab --demo

dsh-csv-lab sniff --input ./数据
dsh-csv-lab split --input ./大表.csv --rows 50000 --out ./分片
dsh-csv-lab dedupe --input ./客户.csv --key 手机号 --out ./去重
dsh-csv-lab validate --input ./客户.csv --required 姓名,手机号 --email 邮箱 --date 生日 --json
dsh-csv-lab clean --input ./客户.csv --out ./清洗
dsh-csv-lab merge --input ./月度 --source-col --out ./合并
dsh-csv-lab convert --input ./数据 --format xlsx --out ./excel

License

MIT © 温州深鲸智能科技有限公司

Comments

Loading…

Similar plugins

dsh-tool-csv

by omdsh-dev

DSH CSV 数据工具插件:解析/查询/统计/转换 CSV 文本(RFC 4180),零依赖状态机解析器,注册 csv 工具

Tools & CapabilitiesManifest valid

★ 4

MIT

TypeScript

Sep 10, 2026

dsh plugin --profile web add @deepseek-ai/dsh-tool-csv

by omdsh-dev

DSH Diff 工具插件:文本/JSON/CSV/Markdown 结构化比较与 unified diff,零依赖只读,注册 diff 工具

Tools & CapabilitiesManifest valid

★ 4

MIT

TypeScript

Sep 10, 2026

dsh plugin --profile web add @deepseek-ai/dsh-tool-diff

by howtimeschange

抓虾数据插件|DeepSeek Harness(DSH)CSV / Excel / JSON 预览、数据概览、筛选去重、排序转换与表格导出。独立运行,无需抓虾后端。

Manifest valid

★ 0

MIT

JavaScript

Oct 16, 2026

dsh plugin --profile web add dsh-crawshrimp-data

by duhu2000

Data cleaning and data enrichment for CSV/XLSX/JSON enterprise lists in DeepSeek Harness, including spreadsheet cleaning, deduplication, profiling, optional Qichacha MCP and exports.

Tools & CapabilitiesTerminal & ClientsManifest valid

★ 3

↓ 172/wk

MIT

JavaScript

Sep 18, 2026

dsh plugin --profile web add dsh-data-cleaning-agent

by qingmumingyang

DSH 文档读写工具包 - PDF/DOCX/XLSX/CSV 读写与 PDF 导出(利用dsh制作的,希望能帮到你们)

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 1

MIT

JavaScript

Oct 19, 2026

dsh plugin --profile web add dsh-doc-toolkit

by po-et

Read-only CSV/XLSX change review for DeepSeek Harness: align business keys, inspect values and formulas, and export review comments.

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Oct 18, 2026

dsh plugin --profile web add dsh-sheet-diff