Skip to main content

Ping Module

Project description

vping
==================

PING module


Installing
----------

Install and update using `pip`_:

.. code-block:: text

$ pip install vping

vping supports Python 2 and newer, Python 3 and newer, and PyPy.

.. _pip: https://pip.pypa.io/en/stable/quickstart/


Example
----------------

What does it look like? Here is an example of a simple vping program:

.. code-block:: python

import vping
host = "www.google.com"
timeout = 10 #default: 2
count = 5 #default=4

vping.verbose_ping(host, timeout, count)


And what it looks like when run:

.. code-block:: text

$ python test.py
ping www.google.com...
get ping in 10.9999 milliseconds.
ping www.google.com...
get ping in 0.0 milliseconds.
ping www.google.com...
get ping in 0.0 milliseconds.
ping www.google.com...
get ping in 0.0 milliseconds.

You can just run vping on terminal

.. code-block:: batch

$ vping.py www.google.com
ping www.google.com...
get ping in 10.9999 milliseconds.
ping www.google.com...
get ping in 0.0 milliseconds.
ping www.google.com...
get ping in 0.0 milliseconds.
ping www.google.com...
get ping in 0.0 milliseconds.


Support
------

* Python 2.7 +, Python 3.x
* Windows, Linux

Links
-----

* License: `BSD <https://bitbucket.org/licface/vping/src/default/LICENSE.rst>`_
* Code: https://bitbucket.org/licface/vping
* Issue tracker: https://bitbucket.org/licface/vping/issues

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

vping-0.16.tar.gz (8.3 kB view details)

Uploaded Source

File details

Details for the file vping-0.16.tar.gz.

File metadata

  • Download URL: vping-0.16.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for vping-0.16.tar.gz
Algorithm Hash digest
SHA256 04014968dc2ffb21113b58436ba108a95a045f1b7cb43aeffad3064b09d38bc5
MD5 ebb88476077ac7edcf06af6e7ea77005
BLAKE2b-256 07b01dca366c35652cfc6f2d66493379e23a70a4a4ac78922f0cc66505124d93

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