Skip to content

msamribeiro/py-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyViewer

A basic CSV viewer for large files.

PyViewer loads the top N MB from a CSV-like file and displays it as a table for the user. It allows quick searching over the columns with regular expressions.

Usage

viewer.py [-hd|--header] [-re|--regex] [-s|--search column:row] filename
  • header treats first line of file as a header
  • regex treats the row argument of search as a regular expression
  • search displays only items matching the string/regex 'row' from column 'column'
  • sample usages
$ cd src
$ python viewer.py ../sample-data/csv_100x10.csv
$ python viewer.py --header ../sample-data/csv_100x10.csv
$ python viewer.py --header -re -s strb_0:.*?land$ ../sample-data/csv_100x10.csv

Documentation

See this page for further details.

About

A basic CSV viewer for large files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages