wazzaps / jqed Goto Github PK
View Code? Open in Web Editor NEWjson interactive stream editor (jq + up) - for Linux and MacOS
License: GNU General Public License v3.0
json interactive stream editor (jq + up) - for Linux and MacOS
License: GNU General Public License v3.0
This means I can disable parts of the pipeline (from the end to the start) to debug each piece.
If I start with:
[ .[] | {(.ifname): .address} ] | add | .eth0
Then I should be able to switch to (with e.g shortcut: Shift+Left):
[ .[] | {(.ifname): .address} ] | add | .eth0
And then:
[ .[] | {(.ifname): .address} ] | add | .eth0
And then:
[ .[] | {(.ifname): .address} ] | add | .eth0
Can the initial prompt be pre-populated with an existing expression by passing via the command line?
This will help with re-editing existing expressions.
Thanks
I'm using a terminal with white background (iTerm) and jqed
's output is also white.
This project looks very promising, keep up the good work.
When processing a big (>1024b) file with strings of unicode characters (\uXXXX) jqed errors out as such:
File "./jqed", line 86, in _jq_out_avail_cb
chunk = os.read(self.jq_proc.stdout.fileno(), 1024).decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position 1023: unexpected end of data
I don't really know python, but I thought decoding blocks of 1024b might break those unicode characters in half.
So when changing 1024 to 100*1024 jqed then sometimes works, sometimes doesn't. And even when it works, entering '.' makes it die the same way, though on a different position.
I've uploaded a test.json.gz (50kB) to https://easyupload.io/smkd7a.
hi, jqed suffers from urwid/urwid#264
could you implement the workaround?
Please use readline for consistent keyboard bindings between the shell and jqed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.