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!

sparklines. on the command line.

Project Description



Provides sparklines. On the command line.

This sparklines project is inspired by, and being ported from, a similar project (<>) by [@holman](


`pip install sparkl`. Done.


Simply run `sparkl`, giving it a sequence of numbers (delimited by spaces, commas, or whatever you'd like).

> sparkl 0 30 55 80 33 150

Options and more at `sparkl -h`.


Magnitude of earthquakes over 1.0 in the last 24 hours:

> curl --silent |
sed '1d' |
cut -d, -f9 |

Number of characters in your last 50 commands:

> history |
awk '{ print length($0) }' |
grep -Ev 0 |
tail -n50 |

cool usage ideas

There's a [list of great command line sparkline usage]( And, you could always put it in your prompt...

sparkl (master√ history: ▂▅▇▂) >


- have switch for allowing/forcing 0-based lines
- make logger use sparkl as module parameter
- allow sparkline to be turned 90 degrees clockwise into horizontal bar

Release History

This version
History Node


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.5 kB) Copy SHA256 Hash SHA256
Source None Jan 15, 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