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
Ping like gping:
ping ya.ru | grep --line-buffered time | sed -u -e 's#.*time=\([^ ]*\).*#\1#' | pipeplot
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
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.1.5.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for pipeplot-0.1.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37d2d495ffa23060c5be765ab0a8c6bf31ae0c791fa7ce059e0ec2f026c2390a |
|
MD5 | a68f026c6c5e0cd39df0d94fad62fb91 |
|
BLAKE2b-256 | 1a3b27673123eb8c0cd63ed108097fc59ccd1663be97fe0be8152ab905e97a5c |