Skip to main content
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

Metadata

Release files for vping 0.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vping 0.16
File Size Uploaded
vping-0.16.tar.gz 8.3 kB Details

Release files / vping-0.16.tar.gz

Download URL vping-0.16.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
04014968dc2ffb21113b58436ba108a95a045f1b7cb43aeffad3064b09d38bc5
BLAKE2b-256 checksum
How to use checksums
07b01dca366c35652cfc6f2d66493379e23a70a4a4ac78922f0cc66505124d93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/2.7

Release history Release notifications | RSS feed

This release

0.16 This release

1 release file

0.15

1 release file

0.14

1 release file

0.13

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page