jc

Kelly Brazil·KellyBrazil.jc

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.

winget install --id KellyBrazil.jc --exact --source winget

Latest 1.26.3·November 29, 2026

Release Notes

20261128 v1.26.3 • Enhance CLI startup time. Commands now start about 33 ms (43%) faster, and magic syntax commands (e.g. jc ls -l) about 130 ms (74%) faster, since the CLI no longer imports every parser to find the one for a magic command, and loads the debug and color output modules only when they are used • Enhance ics parser to add calculated epoch timestamp fields for dates and times, including TZID times resolved with the file's VTIMEZONE component • Enhance CLI and streaming parser error messages to show only the first line of a parser error message, cut to 500 characters. Use -d or -dd for the full message • Enhance CLI to report unrecognized long options (e.g. a misspelled --slurp) as an error instead of ignoring them • Add ansible-list-tags command parser • Add brew-search command parser for brew search output • Add php-fpm command parser for php-fpm -tt output • Add proc-net-wireless parser for /proc/net/wireless (also used by jc --proc) • Add prometheus parser for Prometheus and OpenMetrics text format metrics • Add systemextensionsctl command parser for systemextensionsctl list output on macOS • Fix CLI on Windows to read STDIN redirected from a file (e.g. jc --kv < file.txt), which gave empty output • Fix cksum parser to keep leading whitespace in file names • Fix crontab and crontab-u parsers to not crash on a shortcut line (e.g. @reboot) that was cut short before its user or command • Fix date parser to raise a parse error instead of crashing on input it cannot parse • Fix date parser and the timestamp utility so a time of exactly the Unix epoch (1970-01-01 00:00:00 UTC) gets an epoch value of 0 instead of null • Fix df parser to not crash on a row that is shorter than the header • Fix du parser to keep whitespace in file names • Fix free parser to not crash on output with more than one sample (e.g. free -s 1), which has a blank line and the header repeated between samples • Fix host parser to skip a truncated SOA record instead of crashing • Fix id parser to not crash on an SELinux context with fewer than four fields (e.g. no level) • Fix lsblk parser to not crash on output without a NAME column (e.g. lsblk -o SIZE,TYPE,MOUNTPOINTS), and to raise a parse error on output that is missing its header line • Fix netstat parser to not crash on Windows netstat output that was cut short • Fix netstat parser to keep counters in the right fields on macOS netstat -ib rows that have no address • Fix number conversion utilities (jc.utils.convert_to_float(), convert_to_int(), and convert_to_bool()) to keep the exponent of numbers in scientific notation (e.g. 1.5e+3 was converted to 1.53) • Fix path parser to remove CRLF line endings from Windows paths • Fix proc parser to identify /proc files that have CRLF line endings • Fix ss parser to not crash when the Netid column is missing (e.g. ss -t or ss -u) • Fix swapon parser to not crash on sizes that are not whole numbers (e.g. 7.7G) • Fix systemctl parser to not read the Legend footer or the N loaded units listed line as units (e.g. systemctl --failed with no failed units now returns an empty list) • Fix systeminfo, top, and top-s parsers to not crash on output that was cut short (e.g. no network cards, time zone, or process table) • Fix typeset parser to decode $'...' values correctly, including non-ASCII text, \E escapes, and the zsh and ksh escapes (e.g. \C-x and \u[e9]) • Fix typeset parser to remove the backslash escapes in double-quoted values (e.g. \" and \$), and to keep quotes that are part of a value • Fix url parser to not crash on an invalid port on Python 3.16 • Fix w parser to raise a parse error when the header line is missing and to not crash on blank rows or rows that were cut short • Fix wc parser to keep leading whitespace in file names • Fix wg-show parser to not crash on a hex fwmark value (e.g. 0xca6c)

Installer type: wix

neutral—A08D3AE6B420C6DC1FC33506A3F98F36CC6047426CEE1BE722CF164F4E8EB2F4

Details

License
MIT License

Older versions (5)

1.26.2
neutral—788D5C54AF03C4EF010F5AA557012DF51330DC36FA607D01B8FEF3AC14071EF3
1.26.1
neutral—86465A332FFF0FC6676C1AA94674ADD4BA2C6D6BF56CB3294465958906EAE0FC
1.26.0
neutral—1BC6070771DEA217B78B8D1B36C1E32CB92F66100243211E35CCF6061FF1F8A7
1.25.7
neutral—14EFBAA4F72F5C73B15CCD8C0095905AEF864EC513C85452DC59F95EA48CBEAE
1.25.6
neutral—9F9199B4FFDCCF5EF491D3F0A38C4049FE100CBAB5CC8880D51247D3EEDDE867