data_hacks
data_hacks copied to clipboard
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]
It looks like the maintainer are busy... :(