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 --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.0.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for pipeplot-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edd6cfc79838e406bc259fa94391f7cb373c1e18968d8b88bfd7e85413852fd6 |
|
MD5 | 0bac60ec6e40d86c56c9b0b826cf23eb |
|
BLAKE2b-256 | ce66935d1620f0d22a919f478fe2f006dc92bbcb66cc96f9526e6b4aef905489 |