
jc
kellyjonbrazil
CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.
AI 简介
jc 是一个命令行工具和 Python 库,用于将常见 CLI 命令输出、系统文件及文本字符串解析为结构化 JSON/YAML 或原生 Python 字典。它内置数十种预置解析器(如 dig、ps、df、netstat 等),支持管道直连 jq/jello 等工具进行后续处理,并提供 Python API 供脚本集成。核心特点包括零依赖轻量设计、严格 Schema 驱动的类型转换(自动识别数字、布尔值、null)、流式解析能力及 Ansible 过滤插件支持。适用于 Linux/macOS 自动化运维、日志分析、CI/CD 中的命令输出标准化与结构化处理场景。
Python
MIT License8.6k
Stars
245
Forks
30
Watchers
33
Issues
Star 增长
今日0
近 7 天0
近 30 天+13
综合评分64.47
默认分支master