TabViewer / tabview

Python curses command line CSV and tabular data viewer
Other
458 stars 49 forks source link

.. 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

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.

Features:

Requires:

Installation:

Usage:

Tests:

Keybindings:

========================== ================================================= 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 , or first column if num not given PgUp/PgDn or J/K Move a page up or down H,L Page left or right g Goto top of current column [num]G Goto line or bottom of current column if num not given Ctrl-g Show file/data information Insert or m Memorize this position Delete or ' Return to memorized position (if any) Enter View full cell contents in pop-up window. / Search n Next search result p Previous search result t Toggle fixed header row < > Decrease/Increase column width (all columns) , . Decrease/Increase column width (current column) - + Decrease/Increase column gap s Sort the table by the current column (ascending) S Sort the table by the current column (descending) a 'Natural Sort' the table (ascending) A 'Natural Sort' the table (descending) # Sort numerically by the current column (ascending) @ Sort numerically by the current column (descending) r Reload file/data. Also resets sort order y Yank cell contents to the clipboard (requires xsel or xclip) [num]c Toggle variable column width mode (mode/max), or set width to [num] [num]C Maximize current column, or set width to [num] [num][ Skip to (nth) change in row value (backward) [num]] Skip to (nth) change in row value (forward) [num]{ Skip to (nth) change in column value (backward) [num]} Skip to (nth) change in column value (forward) ========================== =================================================