dvolk/pq
View on GitHub ↗ ★ 3 Python
Like jq, but with Python
3 mentions on Hacker News by 1 person: 1 story, 2 comments · first 2021-09-07 · latest 2022-08-22
20082026
-
…to remember when you can just use Python? I wrote a jq-like that accepts Python syntax called pq: https://github.com/dvolk/pq So you can write stuff like: $ echo '{ "US": 3, "China": 12, "UK": 1 }' | pq -c "sum(data.values())" 16
comment by okasaki · 2022-08-22 · in Gojq: Pure Go Implementation of Jq -
If you want to use jq but with Python syntax, I wrote pq: https://github.com/dvolk/pq
comment by okasaki · 2022-01-09 · in FX: An interactive alternative to jq to process JSON