Skip to main content

displays an interactive graph based on data from pipe

Project description

pipeplot draws an interactive graph in a terminal based on data from pipe.


pip install pipeplot

Examples of using

Graphical ping:

ping | grep --line-buffered time | sed -u -e 's#.*time=\([^ ]*\).*#\1#' | pipeplot --min 0

Chart of deaths per minute from coronavirus:

while true; \
    do curl -s \
    | jq '.deaths'; \
    sleep 60; \
done \
| pipeplot --color 1 --direction left


Render graphite to console:

while true; \
do \
    curl -s 'http://graphite/render?target=my_app_rps_error&format=json&from=-5min&until=now' \
    | jq -c '.[0].datapoints[-1]'; \
    sleep 5; \
done \
| sed -u s/null/0/ \
| stdbuf -oL uniq \
| stdbuf -oL jq '.[0]' \
| pipeplot

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

pipeplot-0.3.3.tar.gz (5.0 kB view hashes)

Uploaded source

Built Distribution

pipeplot-0.3.3-py2.py3-none-any.whl (5.1 kB view hashes)

Uploaded py2 py3

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