Skip to main content

A command line tool to display bar-chart.

Project description

https://badges.gitter.im/eendroroy/spikes.svg https://badge.fury.io/py/spikes.svg https://travis-ci.org/eendroroy/spikes.svg?branch=master https://codeclimate.com/github/eendroroy/spikes/badges/gpa.svg https://codecov.io/gh/eendroroy/spikes/branch/master/graph/badge.svg

A tool to display bar-chart anywhere.

installation

use pip

.   $ pip install spikes

usage

.   $ spike 2 4 3 7 2 9
.   ▂▄▃▆▂█
.
.   $ spike .1 .5 .9 2.5
.   ▁▂▃█

use more than 1 line to display the chart

.   $ spike -l 3   2 4 3 7 2 9
.      ▃ █
.    ▃ █ █
.   ▅███▅█

read from stdin

.   $ spike
.   > 2 4 3 7 2 9
.
.   > # press Ctrl-D
.   ▂▄▃▆▂█

use with git commit count per day:

.   $ git log | grep Date | awk '{print " : "$4" "$3" "$6}' | uniq -c | awk '{print $1}' | spike
.
.   ▁▄▅▁▁▂▁▁▂▄▄▇▃█▁▁▁▁▁▁▁

commit count per author

.   $ git log | grep Author | awk '{print $NF}' | sort | uniq -c | awk '{print $1}' | spike -l4
.
.   █
.   █
.   █  ▁
.   █▅▁█▅▂▆▄█

Project details


Download files

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

Source Distribution

spikes-0.1.2b0.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file spikes-0.1.2b0.tar.gz.

File metadata

  • Download URL: spikes-0.1.2b0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for spikes-0.1.2b0.tar.gz
Algorithm Hash digest
SHA256 79cb93d5ec643af2bbb968f00bd551e32d1acab33f02e45a3c41a19b77892847
MD5 a43dd176edf27accd4f9ccc980cacc0f
BLAKE2b-256 9797e3553aa10c10838534dfa799b4c477d659bda63f262cea57f110d88214ad

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page