XML¶
CLI parsers¶
python-yq/xq¶
- GitHub
- xq docs
- Depends on jq
- Best XML parser so far
- Downside: Arch package
yqconflicts with Arch packagego-yq- Solution: Install locally in Python venv, or globally with
pipx install yq
- Solution: Install locally in Python venv, or globally with
Usage¶
List all recently used files:
sibprogrammer/xq¶
Usage:
xq -x /user/@status
curl https://storage.googleapis.com/versatiles/ | xq
curl https://storage.googleapis.com/versatiles/ | xq -x '/ListBucketResult/Contents/Key'
xmlstarlet¶
- Website
- Last commit: 2018
- Includes
xmllint