Skip to main content

Graphical CSV viewer. `column` with a "g"

Project description

Golumn is a desktop CSV viewer to replace the column command. Think column with a “g”. It behaves similar to the column command, but with a graphic user interface. It bridges the command line and desktop divide by allowing us to present tabular data outside the confines of the terminal.

screenshot

It is challenging without this tool to manage a bunch of tabular output within only a terminal window. It’s difficult to maintain context when long scrolling text and we’re often executing the same statements to bring up previous results.

A typical workflow without this tool is chain together commands:

# psql
#   -X :: ignore ~/.psqlrc
#   -A :: remove whitespace
#   -c :: run the SQL statement
# column
#   -t :: table-ize
#   -s :: set delimiter
# less
#   -S :: Scroll horizontally (enables left/right arrows)
psql -X -A --pset footer -c 'select * from actors_list' dvdrental | column -ts '|' | less -S

When you’re done viewing the data it disappears. Leaving you to remember what you saw as you’re building the next statement. We could (and probably should) manage our terminal windows better with splits and tabs, but there’s limits which desktop GUI’s have solved. Enter golumn.

Usage

# Open a CSV file:
golumn data.csv &

# Pipe in the data:
cat data.csv | golumn &

# Show Query Results:
psql -X -A --pset footer -c 'select * from actors_list' dvdrental | golumn &

Installation

Requires Python3. Please makes sure it’s installed property on target OS with Pip package manager.

This package is available via https://pypi.python.org/pypi. To install on the target system try:

pip3 install golumn --upgrade --user
# --upgrade ensures you get the latest version
# --user install only for your user

For more info on install pip packages see: https://pip.pypa.io/en/stable/quickstart/

Make sure pip3 binaries are available in your $PATH:

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/ddrscott/golumn

License

The gem is available as open source under the terms of the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

golumn-0.21.1-py3-none-any.whl (40.7 kB view details)

Uploaded Python 3

File details

Details for the file golumn-0.21.1-py3-none-any.whl.

File metadata

  • Download URL: golumn-0.21.1-py3-none-any.whl
  • Upload date:
  • Size: 40.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.4.1 requests/2.18.4 setuptools/38.5.2 requests-toolbelt/0.8.0 tqdm/4.19.7 CPython/3.6.4

File hashes

Hashes for golumn-0.21.1-py3-none-any.whl
Algorithm Hash digest
SHA256 564b1b7ea35a7e8ad71150c85d3dae8970f9d232728c75d7d04e36e5d90c4529
MD5 d078654aec37aa61cab9fba6771d3236
BLAKE2b-256 ce2124aaab153ae048508118b639cb4a29caba8ebc4c41dea737afedda5ef9f7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page