Visidata 2.0
visidata.org
visidata.org
This takes its rightful place in the Hall of Very Good Tools alongside vim, htop, and multitail.
Watch the example videos to get a taste.
The tutorial gives you a good taste of what it can do and how to use it.
I changed it to \setenv PAGER 'vd' and I just get a big chunk of text with no ability to navigate columns. How are you doing it with mysql?
You can really go from not knowing what's in a file to a decent understanding in less than a minute.
Pipe in some fixed-width formatted data
kubectl get pods | vd -f fixed -
Gives me a searchable, usable output. Press right to highlight the status column, shift-f and I get a count (+histogram) of the statuses. Three have failed. Hit enter on that row and I can see specifically which ones have failed. This takes a few seconds (I just tried and did it under 5 from running the above command).If I knew I wanted the failed ones I could have grepped or similar but I can then order by most restarts, etc.
This is a tiny part of the functionality but it's an example of "there's some tabular-ish data but what's there?". Load X, histogram, filter, sort is probably 90% of my use-cases.
> Load X, histogram, filter, sort is probably 90% of my use-cases.
Exaclty! Same for me.
Is it possible to get this thing running on Windows, or do I need to do it under WSL (or another computer)? Google turned up a package called UniCurses "with syntax close to that of the original NCurses."
Edit: I found Windows wheels for curses here:
https://www.lfd.uci.edu/~gohlke/pythonlibs/#curses
And there is a visidata.exe in the virtual environment, which I presume is equivalent to the vd command.
pip install windows-curses
after pip installing visidataI just tried this and it worked - now "vd" gives my Visidata 2.0 on my system:
/usr/local/Cellar/visidata/1.5.2/libexec/bin/pip install -U visidata