displays an interactive graph based on data from pipe
Project description
Pipe Plot
pipeplot draws an interactive graph in a terminal based on data from pipe.
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
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
Release history Release notifications | RSS feed
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.0.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for pipeplot-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1de475dbe6adeab0e64c3a105774987ae0028c6c36f256530df14a84b402560 |
|
MD5 | d9c848433e13c7b3d808690b385ddec1 |
|
BLAKE2b-256 | 660f5982190aec8d10e37eb9102b0745ca77c10835bf1963c00dbecd72326dc6 |