Socket
Socket
Sign inDemoInstall

pipeplot

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    pipeplot

displays an interactive graph based on data from pipe


Maintainers
1

Readme

Pipe Plot #########

.. image:: https://img.shields.io/pypi/v/pipeplot.svg :target: https://pypi.org/project/pipeplot/

.. image:: https://img.shields.io/pypi/pyversions/pipeplot.svg :target: https://pypi.org/project/pipeplot/

.. image:: https://img.shields.io/pypi/dm/pipeplot.svg :target: https://pypistats.org/packages/pipeplot

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

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

Installation


.. code-block:: bash

pip install pipeplot

Examples of using


Graphical ping: """""""""""""""

.. code-block:: bash

ping ya.ru | grep --line-buffered time | sed -u -e 's#.*time=\([^ ]*\).*#\1#' | pipeplot --min 0

Chart of deaths per minute from coronavirus: """"""""""""""""""""""""""""""""""""""""""""

.. code-block:: bash

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: """""""""""""""""""""""""""

.. code-block:: bash

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

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc