← 返回
开发者工具 中文

Parser

Parse JSON, CSV, XML, and logs into structured output. Use when converting formats, validating structure, extracting fields, analyzing nested data.
将 JSON、CSV、XML 和日志解析为结构化输出。适用于格式转换、结构验证、字段提取、嵌套数据分析。
ckchzh
开发者工具 clawhub v3.0.2 2 版本 100000 Key: 无需
★ 0
Stars
📥 727
下载
💾 8
安装
2
版本
#latest

概述

parser

Parse and extract data from various file formats.

Commands

json

Parse JSON files (uses jq if available, else built-in)

scripts/script.sh json

csv

Parse CSV files, optionally extract a column by name or number

scripts/script.sh csv

xml

Parse XML files with optional XPath (requires python3)

scripts/script.sh xml

yaml

Parse YAML files with optional key path (requires python3)

scripts/script.sh yaml

lines

Filter lines by pattern (grep-like, with context)

scripts/script.sh lines

split

Split file content by delimiter

scripts/script.sh split

extract

Extract text matching a regex pattern

scripts/script.sh extract

stats

Show file statistics (lines, words, chars, encoding)

scripts/script.sh stats

Requirements

  • python3
  • jq (optional)

Powered by BytesAgain | bytesagain.com | hello@bytesagain.com

Data Storage

Parse results can be cached in ~/.local/share/parser/.

版本历史

共 2 个版本

  • v3.0.2 当前
    2026-03-29 22:52 安全 安全
  • v1.0.1
    2026-03-20 04:25

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Short Drama Writer

ckchzh
短剧剧本生成器。竖屏短剧、微短剧、剧情设计、角色塑造。Short drama script generator for vertical video dramas, plot design, character building. 短剧脚本
★ 8 📥 3,512
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,794
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 324,132