Metadata-Version: 2.1
Name: rainbowcsv
Version: 1.0.2
Summary: Show csv in rainbow colors
Home-page: https://github.com/dannysepler/rainbowcsv
Author: Danny Sepler
Author-email: dannysepler@gmail.com
License: MIT
Project-URL: Bug Tracker, https://github.com/dannysepler/rainbowcsv/issues
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.6.1
Description-Content-Type: text/markdown
License-File: LICENSE

rainbowcsv
==========

Outputs csv columns in easy-to-discern colors in the terminal.

## Installation

`pip install rainbowcsv`

## Usage

Use on a file

`rainbowcsv path/to/file.csv`

or use with pipes

`curl https://raw.githubusercontent.com/dannysepler/rainbowcsv/main/resources/movies.csv | rainbowcsv`

![Simple rainbowcsv output](https://raw.githubusercontent.com/dannysepler/rainbowcsv/main/resources/simple_screenshot.png)

## Options

`rainbowcsv --help`

## How it works

`rainbowcsv` uses the colorama library to wrap csv columns with color escape sequences.

## Usage advice

[csvkit](https://csvkit.readthedocs.io/en/latest/) is a lovely library, and we recommend using this in conjunction with it.

The `csvlook` command doesn't play well with rainbow csv, because it doesn't ignore color-changing characters. That's why the `--table` (`-t` for short) option is available in `rainbowcsv`, it creates a similar-looking table.

`curl https://raw.githubusercontent.com/dannysepler/rainbowcsv/main/resources/movies.csv | rainbowcsv --table`

![Simple rainbowcsv output](https://raw.githubusercontent.com/dannysepler/rainbowcsv/main/resources/table_screenshot.png)

You can also pipe to `less` if you display raw control characters, via `less -r` or `less -R`


