Skip to main content

displays an interactive graph based on data from pipe

Project description

https://img.shields.io/pypi/v/pipeplot.svg https://img.shields.io/pypi/pyversions/pipeplot.svg https://img.shields.io/pypi/dm/pipeplot.svg

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

https://raw.githubusercontent.com/MyGodIsHe/pipeplot/master/doc/readme_screencast.gif

Installation

pip install pipeplot

Examples of using

Graphical ping:

ping ya.ru | 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 https://coronavirus-19-api.herokuapp.com/all \
    | jq '.deaths'; \
    sleep 60; \
done \
| pipeplot --color 1 --direction left

API: https://github.com/javieraviles/covidAPI

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 Python 2 Python 3

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