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
Render graphite to console:
while sleep 5; do curl -s 'http://graphite/render?target=my_app_rps_error&format=json&from=-5min&until=now' | jq -c '.[0].datapoints[-1]'; 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.4.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for pipeplot-0.1.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd02a46ebcded66d5246c90757577dd64b076bfd02920b99670202d83c7a186e |
|
MD5 | e57b212e31038caa71508e4a0fb1e4a7 |
|
BLAKE2b-256 | feda4f638cc501a487829502a1ee7d8d6e083c18810dae9e526ace4f3bc7b239 |