All Projects → kellyjonbrazil → jellex

kellyjonbrazil / jellex

Licence: MIT License
TUI to filter JSON and JSON Lines data with Python syntax

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to jellex

Graphql To Mongodb
Allows for generic run-time generation of filter types for existing graphql types and parsing client requests to mongodb find queries
Stars: ✭ 261 (+536.59%)
Mutual labels:  query, filter
Queryablelist
Python module to add support for ORM-style filtering to any list of items
Stars: ✭ 19 (-53.66%)
Mutual labels:  query, filter
VBA-Arrays
😎 Array functions that are similar JavaScript functions. Example: Push, Pop, Shift, Unshift, Sort, length, toString.
Stars: ✭ 48 (+17.07%)
Mutual labels:  query, filter
Lara Eye
Filter your Query\Builder using a structured query language
Stars: ✭ 39 (-4.88%)
Mutual labels:  query, filter
Laravel Api Handler
Package providing helper functions for a Laravel REST-API
Stars: ✭ 150 (+265.85%)
Mutual labels:  query, filter
spring-filter
Painless filtering library for JPA entities and MongoDB collections. Smoothly integrates with Spring APIs.
Stars: ✭ 123 (+200%)
Mutual labels:  query, filter
Walkable
A Clojure(script) SQL library for building APIs: Datomic® (GraphQL-ish) pull syntax, data driven configuration, dynamic filtering with relations in mind
Stars: ✭ 384 (+836.59%)
Mutual labels:  query, filter
Eloquentfilter
An Eloquent Way To Filter Laravel Models And Their Relationships
Stars: ✭ 1,113 (+2614.63%)
Mutual labels:  query, filter
Queryql
Easily add filtering, sorting, and pagination to your Node.js REST API through your old friend: the query string!
Stars: ✭ 76 (+85.37%)
Mutual labels:  query, filter
elastic-composer
Client-side Elasticsearch query generator and executor. Filter fields, find search suggestions, and paginate query results for your indicies using a simple, reactive, and high-level API
Stars: ✭ 14 (-65.85%)
Mutual labels:  query, filter
express-mquery
Expose mongoose query API through HTTP request.
Stars: ✭ 37 (-9.76%)
Mutual labels:  query, filter
active-persistence
Active Persistence is a implementation of Active Record Query Interface for JPA that makes it easy and fun.
Stars: ✭ 14 (-65.85%)
Mutual labels:  query
d3Tree
htmlwidget that binds d3js collapsible trees to R and Shiny to make an interactive search tool
Stars: ✭ 79 (+92.68%)
Mutual labels:  query
przm
🎨 A simple, yet feature rich color picker and manipulator
Stars: ✭ 19 (-53.66%)
Mutual labels:  tui
Steam-Apps-Management-API
A basic Steam Application Management API and Valve Data Format (VDF) reader/writer.
Stars: ✭ 24 (-41.46%)
Mutual labels:  process
TIL
Today I Learned
Stars: ✭ 43 (+4.88%)
Mutual labels:  query
java-web-servlet-filter
OpenTracing Java Web Servlet Filter Instrumentation
Stars: ✭ 20 (-51.22%)
Mutual labels:  filter
dynamic-table
Dynamic Table jQuery Plug-in - A table that can be sorted, filtered and edited, similar to common spreadsheet application.
Stars: ✭ 26 (-36.59%)
Mutual labels:  filter
apex-query-builder
Convenient query builder for dynamic SOQL queries
Stars: ✭ 37 (-9.76%)
Mutual labels:  query
unbound-dns-firewall
DNS-Firewall Python script for UNBOUND
Stars: ✭ 23 (-43.9%)
Mutual labels:  filter

Pypi

jellex

Jello Explorer

TUI to filter JSON and JSON Lines data with Python syntax

Here is a video of jellex in action: https://youtu.be/-oR0yZ7JaO8

Jello Explorer (jellex) is a Text User Interface program to interactively process JSON and JSON Lines at the console using Python syntax. jellex uses jello on the back-end to run the queries.

Install

Jello Explorer can be installed via pip:

Pypi

pip install jellex

Usage

jellex FILE

Examples:

$ jellex file.json

or with process substitution:

$ jellex <(git log | jc --git-log)

An Editor window displays on the left and a Viewer window displays on the right. A Schema view can be toggled on the right and a Status window displays on the bottom.

The Editor window uses standard EMACS key bindings and allows you to type your Python syntax query. _ is the loaded JSON from the file presented as a python dict or list of dicts. You can use dot notation or traditional python bracket notation to access key names.

As you modify your query, the Viewer and Schema windows will update with the latest results. If there are any errors in the query (syntax errors, etc.), they will be displayed in the Status window at the bottom.

Tab completions are available for current context list indicies and key names.

Use CTRL-\ to toggle the focus between the Editor, Viewer, and Schema windows.

Use CTRL-S to toggle the Schema window.

Use CTRL-Q or CTRL-Cto exit.

Note: Reserved key names that cannot be accessed using dot notation can be accessed via standard python dictionary notation. (e.g. _.foo["get"] instead of _.foo.get)

Here is an example after running jellex twitterdata.json and modifying the query:

jellex

When you exit (CTRL-Q or CTRL-C), you will be presented with your jello filter:

$ jellex twitterdata.json
Your query:

jello '_[0].user'

$
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].