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
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.2.1.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for pipeplot-0.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5b4626f7bbb9db2a0faf3576c11955f9438f9c5f487a1e7a0c6ce4c472e6872 |
|
MD5 | 380be2c234187aa29de231df0e755348 |
|
BLAKE2b-256 | e57e01920832d1e152f2e4ec2f6c52b3d574480a0214690b3e928d57c6de8249 |