6 releases (3 stable)

✓ Uses Rust 2018 edition

1.0.2 Nov 20, 2019
1.0.1 Nov 16, 2019
0.10.4 Mar 19, 2017
0.10.3 Mar 13, 2017
0.10.2 Mar 11, 2017

#339 in Command line utilities

Download history 28/week @ 2019-11-29 35/week @ 2019-12-06 63/week @ 2019-12-13 10/week @ 2019-12-20 8/week @ 2019-12-27 30/week @ 2020-01-03 25/week @ 2020-01-10 40/week @ 2020-01-17 14/week @ 2020-01-24 33/week @ 2020-01-31 16/week @ 2020-02-07 50/week @ 2020-02-14 62/week @ 2020-02-21 11/week @ 2020-02-28 22/week @ 2020-03-06 14/week @ 2020-03-13

102 downloads per month

Apache-2.0

85KB
2.5K SLoC

Razor 2.5K SLoC // 0.0% comments PHP 13 SLoC // 0.1% comments

rq Build Status Build status Crates.io Language (Rust)

NOTE: rq no longer ships with a Javascript engine included; instead, it focuses exclusively on format transformation. You can still pipe into a runtime like node.js if you need Javascript evaluation.

This is the home of the tool called rq (record query). It's a tool that's used for performing queries on streams of records in various formats.

The goal is to make ad-hoc exploration of data sets easy without having to use more heavy-weight tools like SQL/MapReduce/custom programs. rq fills a similar niche as tools like awk or sed, but works with structured (record) data instead of text.

It was created with love out of the best parts of Rust, and is distributed as a dependency-free binary on many operating systems and architectures.

Quick links

Format support status

Format Read Write
Apache Avro ✔️ ✔️
CBOR ✔️ ✔️
JSON ✔️ ✔️
MessagePack ✔️ ✔️
Google Protocol Buffers ✔️ ✖️
YAML ✔️ ✔️
TOML ✔️ ✔️
Raw (plain text) ✔️ ✔️
CSV ✔️ ✔️

Dependencies

~13MB
~236K SLoC