Skip to main content

displays an interactive graph based on data from pipe

Project description

https://img.shields.io/pypi/v/pipeplot.svg https://img.shields.io/pypi/pyversions/pipeplot.svg https://img.shields.io/pypi/dm/pipeplot.svg

pipeplot draws an interactive graph in a terminal based on data from pipe.

https://raw.githubusercontent.com/MyGodIsHe/pipeplot/master/doc/readme_screencast.gif

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 --direction left

API: https://github.com/javieraviles/covidAPI

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


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.3.3.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

pipeplot-0.3.3-py2.py3-none-any.whl (5.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pipeplot-0.3.3.tar.gz.

File metadata

  • Download URL: pipeplot-0.3.3.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/2.7.17

File hashes

Hashes for pipeplot-0.3.3.tar.gz
Algorithm Hash digest
SHA256 00597e52b6c864e680550dd301344ef5e5b8300a2daeb6598bc6775d49651415
MD5 9bae55b62bc4291ee94da758bfc9b7a3
BLAKE2b-256 e45a2227be45906ab005025020178c544ca16144766e75a237f032b2703a1c4a

See more details on using hashes here.

File details

Details for the file pipeplot-0.3.3-py2.py3-none-any.whl.

File metadata

  • Download URL: pipeplot-0.3.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/2.7.17

File hashes

Hashes for pipeplot-0.3.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2d1d029cfc8ab9fed242102fb49cb058a01dc30fa6f1c913e656089cb2a9e0be
MD5 a9df967fb8f209192b0c75e546c73dac
BLAKE2b-256 c5bb788080aee0a828fd5715c54e835cca5f6328d5378b2b86bfc25870715d6d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page