• RFP: Jello - Filter JSON and JSON Lines data with Python syntax

    From Kelly Brazil@21:1/5 to All on Tue Jun 22 23:40:01 2021
    Hi Python Team!

    I’m the developer of Jello (and JC). Jello is similar to JQ in that it filters JSON and JSON lines, except Jello uses pure python syntax.

    https://github.com/kellyjonbrazil/jello <https://github.com/kellyjonbrazil/jello>

    For example:
    $ jc -a | jello -rl '[entry.name for entry in _.parsers if "darwin" in entry.compatible]'

    airport
    airport_s
    arp
    crontab
    crontab_u
    ...
    Please consider packaging Jello. It is currently available on AUR and Homebrew and is currently in process for packaging on Fedora. It should be very similar to the JC spec, but with fewer dependencies. (only Pygments>=2.4.2)

    Thank you,
    Kelly Brazil


    <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Python Team!<div class=""><br class=""></div><div class="">I’
    m the developer of Jello (and JC). Jello is similar to JQ in that it filters JSON and JSON lines, except Jello uses pure python syntax.</div><div class=""><br class=""></div><div class=""><a href="https://github.com/kellyjonbrazil/jello" class="">https://
    github.com/kellyjonbrazil/jello</a></div><div class=""><br class=""></div><div class="">For example:</div><div class=""><pre style="box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &quot;SF Mono&quot;, Consolas, &quot;Liberation Mono&
    quot;, Menlo, monospace; margin-top: 0px; margin-bottom: 0px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; border-top-left-radius: 6px; border-top-right-radius: 6px; border-bottom-right-radius: 6px; border-bottom-left-radius:
    6px; word-break: normal; color: rgb(36, 41, 46); font-variant-ligatures: normal; orphans: 2; widows: 2; text-decoration-thickness: initial;" class="">$ jc -a <span class="pl-k" style="box-sizing: border-box; color: var(--color-prettylights-syntax-keyword)
    ;">|</span> jello -rl <span class="pl-s" style="box-sizing: border-box; color: var(--color-prettylights-syntax-string);"><span class="pl-pds" style="box-sizing: border-box; color: var(--color-prettylights-syntax-string);">'</span>[entry.name for entry in
    _.parsers if "darwin" in entry.compatible]<span class="pl-pds" style="box-sizing: border-box; color: var(--color-prettylights-syntax-string);">'</span></span>

    airport
    airport_s
    arp
    crontab
    crontab_u
    ...</pre></div><div class="">Please consider packaging Jello. It is currently available on AUR and Homebrew and is currently in process for packaging on Fedora. It should be very similar to the JC spec, but with fewer dependencies. (only&nbsp;<span style=
    "color: rgb(36, 41, 46); orphans: 2; white-space: pre; widows: 2; background-color: rgb(255, 255, 255);" class="">Pygments&gt;=2.4.2)</span></div><div class=""><span style="color: rgb(36, 41, 46); orphans: 2; white-space: pre; widows: 2; background-color:
    rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><span style="color: rgb(36, 41, 46); orphans: 2; white-space: pre; widows: 2; background-color: rgb(255, 255, 255);" class="">Thank you,</span></div><div class=""><span style="color:
    rgb(36, 41, 46); orphans: 2; white-space: pre; widows: 2; background-color: rgb(255, 255, 255);" class="">Kelly Brazil</span></div><div class=""><span style="color: rgb(36, 41, 46); font-family: ui-monospace, SFMono-Regular, &quot;SF Mono&quot;, Consolas,
    &quot;Liberation Mono&quot;, Menlo, monospace; orphans: 2; white-space: pre; widows: 2; background-color: rgb(255, 255, 255);" class=""><br class=""></span></div></body></html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Kelly Brazil@21:1/5 to All on Wed Jun 23 18:20:01 2021
    Hi team,

    I have also opened a package request here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990234 <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990234>

    Thanks,
    Kelly Brazil
    <html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi team,<div class=""><br class=""></div><div class="">I have
    also opened a package request here:&nbsp;<a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990234" class="">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990234</a></div><div class=""><br class=""></div><div class="">Thanks,</div><div class="
    ">Kelly Brazil</div></body></html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)