Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Simple charts on the command line from stdin or file

Project Description

clc (command line charts)

Simple charts on the commandline (bar charts only for now). Read from stdin or
from a file.


`pip install clc`. Done.


Give `clc` data on stdin or a filename, and see a command line chart.

> cat ./fixtures/sample1.dat | clc
Paris ****************************** 12
Tokyo ******* 3
London *********************************** 14
Washington ***************** 7

Adjust the width of the chart, and the symbol for the bars:

> clc ./fixtures/sample1.dat -w30 --tick='~'
Paris ~~~~~~~~~~~~ 12
Tokyo ~~~ 3
London ~~~~~~~~~~~~~~~ 14
Washington ~~~~~~~ 7

Data should be formatted as in ./fixtures:

Paris 12
Tokyo 3
London 14
Washington 7


Via `--help`:

usage: clc [-h] [--verbose] [--width WIDTH] [--tick TICK] [infile]

clc: simple charts on the command line.

positional arguments:
infile data file (or stdin)

optional arguments:
-h, --help show this help message and exit
--verbose, -v
--width WIDTH, -w WIDTH
--tick TICK, -t TICK


- better handle non-integer values
- use csv.Sniffer()
- tests
- colors
- vertical bar charts

Release History

This version
History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(2.2 kB) Copy SHA256 Hash SHA256
Source None May 16, 2013

Supported By

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 Google Google Cloud Servers DreamHost DreamHost Log Hosting