jq-zsh-plugin
cels
jq-zsh-plugin | cels | |
---|---|---|
4 | 3 | |
298 | 9 | |
- | - | |
6.0 | 7.9 | |
26 days ago | 6 months ago | |
Shell | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jq-zsh-plugin
- Interactive Examples for Learning Jq
-
Analyzing multi-gigabyte JSON files locally
https://github.com/reegnz/jq-zsh-plugin
I find that for big datasets choosing the right format is crucial. Using json-lines format + some shell filtering (eg. head, tail to limit the range, egrep or ripgrep for the more trivial filtering) to reduce the dataset to a couple of megabytes, then use that jq-repl of mine to iterate fast on the final jq expression.
I found that the REPL form factor works really well when you don't exactly know what you're digging for.
cels
-
Interactive Examples for Learning Jq
Not a 1:1 replacement, but I created https://github.com/pacha/cels because I wanted to have a more intuitive way of working with JSON and YAML files
-
That's a Lot of YAML
I agree. I find working with templated YAML so cumbersome that I ended up creating a tool (Cels - https://github.com/pacha/cels) because of it. I like Jsonnet and Starlark but in practice I don’t usually need a new programming language for most use cases. Most of the time I just want to create a base document and apply patches to do modifications. That simplifies everything a lot.
- Show HN: Cels – A bit less YAML/JSON struggle
What are some alternatives?
semi_index - Implementation of the JSON semi-index described in the paper "Semi-Indexing Semi-Structured Data in Tiny Space"
pyserde - Yet another serialization library on top of dataclasses, inspired by serde-rs.
z-a-readurl - 🌀 An annex delivers the capability to automatically download the newest version of a file to which URL is hosted on a webpage
python-benedict - :blue_book: dict subclass with keylist/keypath support, built-in I/O operations (base64, csv, html, ini, json, pickle, plist, query-string, toml, xls, xml, yaml), s3 support and many utilities.
json-buffet
click-extra - 🌈 Extra colorization and configuration loading for Click.
lnav - Log file navigator
remarshal - Convert between CBOR, JSON, MessagePack, TOML, and YAML
reddit_mining
nestedtextto - CLI to convert between NestedText and JSON, YAML, or TOML, with explicit type casting
ClickHouse - ClickHouse® is a free analytics DBMS for big data
msgspec - A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML