{"repo":"markus-wa/cq","free":true,"listed":false,"github":"https://github.com/markus-wa/cq","clone":"git clone https://github.com/markus-wa/cq.git","description":"Clojure Query: A Command-line Data Processor for JSON, YAML, EDN, XML and more","language":"Clojure","stars":186,"topics":["clojure","yaml","json","edn","csv","command-line","cli","msgpack","hacktoberfest","xml"],"license":"EPL-2.0","category":"cli-tools","readme_excerpt":"cq (Clojure Query) Command-line Data Processor for EDN, YAML, JSON, XML and other data formats. The joy of Clojure's threading macros, but on the command line! May or may not have invented the Hash-Pipe # operator 🍁 (citation needed) Installation Homebrew brew install markus-wa/brew/cq Windows / Scoop scoop bucket add scoop-clojure scoop install scoop-clojure/cq Manual 1. Download the latest version for your OS from the releases page. - note: you should avoid cq-jvm if possible as these are not GraalVM native images and will be slow to start. 2. Rename binary to cq 3. chmod +x cq 4. Move into a location on $PATH Rationale While there are a few similar, amazing tools out there (such as jq , jet or babashka ), cq tries to resolve some of their shortcomings such as having to learn custom query languages, lacking powerful data transformation libraries or quick and easy (yes I said the e word) handling of many input and output formats. cq aims to: - Not require learning yet another query language - it's just data Clojure! - Give the user complete power for writing queries, with as few limitations as possible - Provide various input and output formats out of the box - Be opinionated, ship useful tools/libraries pre-bundled Features - Supports all elements of Clojure that are supported by SCI - Data Formats: - EDN - YAML - JSON (regular + line-delimited) - XML - MsgPack - CSV - Cognitec's Transit format - Text (raw and line-separated) - HTML (via Hickory) - Various reader macros th","default_branch":null,"files":null,"tree":[],"storefront":"/r/markus-wa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/markus-wa/cq/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}