Skip to main content

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

Options

rainbowcsv --help

How it works

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

Usage advice

csvkit 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

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

Metadata

Release files for rainbowcsv 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rainbowcsv 1.0.2
File Size Uploaded
rainbowcsv-1.0.2.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rainbowcsv 1.0.2
File Interpreter ABI Platform
rainbowcsv-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 8.6 kB

Release files / rainbowcsv-1.0.2.tar.gz

Download URL rainbowcsv-1.0.2.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d3f3e9a1921ab04fb36a57c3d3368e763e5f7dcfc3627fed366460a71d52a35d
BLAKE2b-256 checksum
How to use checksums
cdc121ebc511a17d9e550f82bba5457e8bbdf4e9d8980d71333ab175f80503a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

Release files / rainbowcsv-1.0.2-py3-none-any.whl

Download URL rainbowcsv-1.0.2-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bade3d0a7eefed8f65e96c4891c7400ad45d3c3012558b85243b8047e7af384f
BLAKE2b-256 checksum
How to use checksums
41f5555e615993e6a35fb36d2233739d556996557ba7bfc79823fbe3e395eeaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page