.. image:: https://img.shields.io/github/release/tabviewer/tabview.svg :target: https://pypi.python.org/pypi/tabview/ :alt: Latest Version
.. image:: https://img.shields.io/pypi/pyversions/tabview.svg :target: https://pypi.python.org/pypi/tabview/ :alt: Supported Python versions
.. image:: https://img.shields.io/pypi/l/tabview.svg :target: https://pypi.python.org/pypi/tabview/ :alt: License
.. image:: https://sourcegraph.com/github.com/TabViewer/tabview/-/badge.svg :target: https://sourcegraph.com/github.com/Tabviewer/tabview
.. image:: https://img.shields.io/travis/TabViewer/tabview.svg :target: https://travis-ci.org/TabViewer/tabview
This project is functional but future development will be sporadic and
limited. For a more fully featured CSV viewer/spreadsheet app check out the
Visidata project <https://github.com/saulpw/visidata>
_.
View a CSV file in a spreadsheet-like display.
Posted by Scott Hansen tech@firecat53.net
Original code forked from: http://www.amk.ca/files/simple/tabview.txt
Contributed by A.M. Kuchling <amk@amk.ca>
Other Contributors:
+ Matus Gura <matus.gura@gmail.com>
+ Nathan Typanski <ntypanski@gmail.com>
+ Sébastien Celles <s.celles@gmail.com>
+ Yuri D'Elia <wavexx@thregr.org>
The highlighted position is shown in the top-left corner of the screen; next to it are shown the contents of that cell.
pip install tabview
OR# python setup.py install
OR$ python setup.py install --user
ORArchlinux AUR package <https://aur.archlinux.org/packages/tabview-git/>
_From command line:
.. code:: python
tabview
From python command line to view an object
.. code:: python
import tabview as t
a = [["a","b","c"], ["d","e","f"]]
t.view(a)
From python command line to view a file
.. code:: python
import tabview as t
t.view(<filename>, start_pos=(60,40))
Using as the pager for MySQL. Set these options in ~/.my.cnf::
pager=tabview -d '\t' --quoting QUOTE_NONE - silent
python tests/test_tabview.py
========================== =================================================
F1 or ? Show this list of keybindings
Cursor keys or h,j,k,l Move the highlighted cell, scrolling if required.
Q or q Quit
Home, ^, Ctrl-a Move to the start of this line
End, $, Ctrl-e Move to the end of this line
[num]| Goto column