=======
Draw bar charts from CSV files in the terminal.
Requires either version 2 or 3 of [Python] (https://www.python.org/), including `pip`.
Installing
----------
Install with Pip: `pip install csvbar`.
Usage
-----
Say you have a CSV file such as:
```
Donor,Value
Trust,93167.74
Limited Liability Partnership,100522.93
Friendly Society,111428.84
Registered Political Party,382227.01
Unincorporated Association,2846016.31
Company,3696180.22
Individual,11021726.04
Trade Union,44483505.54
```
You can then:
```bash
$ csvbar data.csv
Trust ▌ 93,167.74 (0.15%)
Limited Liability Partnership ▌ 100,522.93 (0.16%)
Friendly Society ▌ 111,428.84 (0.18%)
Registered Political Party ▌ 382,227.01 (0.61%)
Unincorporated Association ███ 2,846,016.31 (4.54%)
Company ████ 3,696,180.22 (5.89%)
Individual ████████████ 11,021,726.04 (17.57%)
Trade Union ██████████████████████████████████████████████████ 44,483,505.54 (70.91%)
Total: 62,734,774.63
```
It also accepts data on STDIN, useful if you're using something like [CSV Kit] (https://github.com/onyxfish/csvkit) or [Q] (https://github.com/harelba/q).
Inspiration
-----------
There are similar tools:
* [data_hacks] (https://github.com/bitly/data_hacks), by [Bitly] (https://bitly.com/)
* [termgraph] (https://github.com/mkaz/termgraph), by [Marcus Kazmierczak] (https://twitter.com/mkaz)
* [spark] (https://github.com/holman/spark), by [Zach Holman] (https://twitter.com/holman)
Metadata
Release files for csvbar 1.4
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 |
|---|---|---|---|---|
| csvbar-1.4.tar.gz | 2.8 kB | Without provenance | Details for csvbar-1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| csvbar-1.4-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for csvbar-1.4-py2.py3-none-any.whl |
Total release size: 7.9 kB
Release files / csvbar-1.4.tar.gz
| Download URL | csvbar-1.4.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc34167f54f7c4ff5c072d5cd7a353458d4cfe40ef1bfdbac6bbb43a909a33d5
|
|
BLAKE2b-256 checksum How to use checksums |
4bd7479f4d5e2493a785da554b979452e5a94e7a831fafad158b8438ad72f53a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / csvbar-1.4-py2.py3-none-any.whl
| Download URL | csvbar-1.4-py2.py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
9b63ae2e1e8971639527a5980706aa8d37c6676cbff730719267bfdcfba71b8c
|
|
BLAKE2b-256 checksum How to use checksums |
484526dcf3a352d7d7a32ae49424ab5e818e84c1cff5193ad18615669b3820b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for csvbar 1.4
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.