Skip to main content

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'

$

Metadata

Release files for jellex 0.5.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jellex 0.5.7
File Size Uploaded Provenance
jellex-0.5.7.tar.gz 6.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for jellex 0.5.7
File Interpreter ABI Platform
jellex-0.5.7-py3-none-any.whl Python 3 none any Details

Total release size: 12.6 kB

Release files / jellex-0.5.7.tar.gz

Download URL jellex-0.5.7.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4b98432127d8e98839ead90f8b1e80549474fe230f973b7a86b5a6744e37afbb
BLAKE2b-256 checksum
How to use checksums
bc56a806af14791940c847f334e1407a0874b1860b6cbe05f92ce9e058cc1648
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release files / jellex-0.5.7-py3-none-any.whl

Download URL jellex-0.5.7-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8951d791a3abb1ba929c3d0de1ad2583316b6fe55045f31f69b5f51cb5b8cefe
BLAKE2b-256 checksum
How to use checksums
6a69726740c579f7af19d5185122182d16460225e05e3686002fa2baa2b6748d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Security for jellex 0.5.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page