This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Draw bar graphs from CSV files in the terminal.

Project Description
CSV Bar
=======

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)
Release History

Release History

This version
History Node

1.4

History Node

1.3

History Node

1.2

History Node

1.1

History Node

1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
csvbar-1.4-py2.py3-none-any.whl (5.0 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Jan 6, 2016
csvbar-1.4.tar.gz (2.8 kB) Copy SHA256 Checksum SHA256 Source Jan 6, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting