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
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
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rainbowcsv-1.0.2.tar.gz | 4.1 kB | Without provenance | Details for rainbowcsv-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rainbowcsv-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for rainbowcsv-1.0.2-py3-none-any.whl |
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
|
Security for rainbowcsv 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.