/tsv-tools

Tools for interacting with tsv (tab separated values) files.

Primary LanguagePythonApache License 2.0Apache-2.0

usage: tsv [-h]
           {body,tocsv,fromcsv,cat,columns,sort,display,filter,header,uniq}
           ...

positional arguments:
  {body,tocsv,fromcsv,cat,columns,sort,display,filter,header,uniq}
                        subcommand
    body                outputs all rows except for the header
    tocsv               convert tsv input to a csv
    fromcsv             convert a csv to tsv output
    cat                 concatenate multiple tsvs, joining intelligently based
                        on headers
    columns             output a subset of columns
    sort                sort rows, respecting the header
    display             print tsv data with nicely space-padded output
    filter              filter rows by a number of optional column selectors
    header              only display the tsv header
    uniq                only output unique rows

optional arguments:
  -h, --help            show this help message and exit