jellex
ijson
jellex | ijson | |
---|---|---|
11 | 2 | |
94 | 764 | |
- | 3.1% | |
3.8 | 7.1 | |
6 months ago | about 1 month ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jellex
- Parsing Complex JSON
-
Select, put and delete data from JSON, TOML, YAML, XML and CSV files
You could do something like this in pure python without the json loading boilerplate with jello[0]. An interactive TUI for jello called jellex[1} is also available. (I am the author)
[0] https://github.com/kellyjonbrazil/jello
[1] https://github.com/kellyjonbrazil/jellex
- parsing json help
-
FX: An interactive alternative to jq to process JSON
Also, Jellex is a TUI front-end to Jello that helps with interactively querying the JSON.
- I looking for a TUI liberary/framework with good aesthetics.
- Tips on Adding JSON Output to Your CLI App
- Need help with a JSON response from an API
-
Bringing the Unix Philosophy to the 21st Century
I wrote something similar to this to query JSON and JSON lines with python instead of awk for text. It’s called Jellex (Jello Explorer) which is a TUI front-end to Jello. Jello is a python analog to JQ.
https://github.com/kellyjonbrazil/jellex
-
What's a small Linux program that you don't give much thought but makes your life a hundred times easier from time to time?
There's a new TUI for jello now called jellex that can help you create your jello python filters faster and easier.
-
Fancy console
I made this TUI app using prompt-toolkit
ijson
- How do i handle large json file?
-
Bringing the Unix Philosophy to the 21st Century
> JSON’s design assumes the user can read the entire file into memory
No? The design of most JSON libraries assumes that, but there are perfectly good incremental JSON parsers out there[1–3]. It’s just that people don’t seem to have figured out a good API for not-completely-incremental parsing (please prove me wrong here!), but this applies equally to any structured data format as soon as you want to pull out pieces of data that are nested more than one level down.
The lack of length prefixes in JSON does indeed make a solid parser somewhat more difficult, but you get the ability to author and validate it manually instead. All in all a draw and not because of the incremental parsing thing.
(Tabular or otherwise homogeneous data is indeed reprsented wastefully, but unless the individual records are huge json+gzip is a perfectly serviceable “worse-is-better” solution.)
[1] https://github.com/ICRAR/ijson
[2] https://github.com/AMDmi3/jsonslicer
[3] https://github.com/danielyule/naya
What are some alternatives?
jello - CLI tool to filter JSON and JSON Lines data with Python syntax. (Similar to jq)
jsonslicer - Stream JSON parser for Python
udiskie - Automounter for removable media
jc - CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.
py_cui - A python library for intuitively creating CUI/TUI interfaces with widgets, inspired by gocui.
ripgrep - ripgrep recursively searches directories for a regex pattern while respecting your gitignore
nushell - A new type of shell
httpie - 🥧 HTTPie CLI — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more.
murex - A smarter shell and scripting environment with advanced features designed for usability, safety and productivity (eg smarter DevOps tooling)
Mosh - Mobile Shell
ngs - Next Generation Shell (NGS)