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.3.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for pipeplot-0.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70bc97c6c3601f59d519ced93bd8a93b1d7bd14bb7c0db4f7cd3024cc3dd11fe |
|
MD5 | 69da97511c056cc84ed4febd6158b0f1 |
|
BLAKE2b-256 | ebf9dca6213b261d89f08e367a2da2f40ad560452daad4f73848e11d085f58c6 |