Skip to main content

Mass Ping

A multi-threaded ICMP ping using /bin/ping, ping.exe.

Features

  • You can get a quick result.
  • It detects ping flapping.
  • You don't need root privilege to send a ping.
  • It has no dependency as using only python standard library.

Installation

Run the folowing to install:

pip install mass-ping

Usage

>>> from mass_ping import MassPing
>>> hosts = ['8.8.8.8', '8.8.4.4', 'yahoo.com', 'ns.speedvpn.net', 'noizze.net']
>>> ping = MassPing(hosts=hosts, thread_count=len(hosts), test_count=2)  # test_count=2 means when ping fails retry 1 more time
>>> result = ping.start()
>>> from pprint import pprint
>>> pprint(result)
{'alive': ['8.8.4.4', '8.8.8.8', 'noizze.net', 'ns.speedvpn.net', 'yahoo.com'],
 'dead': [],
 'flapping': []}

Metadata

Release files for mass-ping 1

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

Source distribution (sdist)

Source distribution for mass-ping 1
File Size Uploaded
mass-ping-1.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mass-ping 1
File Interpreter ABI Platform
mass_ping-1-py3-none-any.whl Python 3 none any Details

Total release size: 4.9 kB

Release files / mass-ping-1.tar.gz

Download URL mass-ping-1.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
826b917de30be4482a23e3e2485f33f8244909e33b89f03364d2a8cd3c6b9e03
BLAKE2b-256 checksum
How to use checksums
bf6e66b4617c95a046f3fc7818d1c6e64848768a221d5b9be7a29c4fe546c45d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.4.3

Release files / mass_ping-1-py3-none-any.whl

Download URL mass_ping-1-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
81ac14be03f3430bb4c54c7985647722041d2495b093d496966314f8411fd89d
BLAKE2b-256 checksum
How to use checksums
5564d9f625cc065c122ddbbb2b11104e87171edf83bc45b7c7eded36347e6e93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.4.3

Release history Release notifications | RSS feed

2

2 release files

This release

1 This release

2 release files

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