bitly/data_hacks — pull request #9 by matthewlmcclure (2012-09-13 14:32:01+00:00)
Title: Added options for key width, chart width, and key justification.

$ bar_chart.py --help
Usage: cat data | bar_chart.py [options]

Options:
-h, --help show this help message and exit
-k, --sort-keys sort by the key [default]
-v, --sort-values sort by the frequence
-r, --reverse-sort reverse the sort
-j JUSTIFICATION, --justification=JUSTIFICATION
output justification of keys [right]
-l KEY_LENGTH, --key-length=KEY_LENGTH
output length of keys [50]
-w WIDTH, --width=WIDTH
output width of chart [80]