skillfed

multiping

Pure python library to send and receive ICMPecho request (ping) to monitor IP addresses

multiping v1.1.2 334.4K downloads/30d#7,491 on PyPI214
Permissive license Apache Software License Abandoned released

What it is and what it does

MultiPing is a pure-Python library for sending ICMP echo requests to monitor IP addresses. It works by creating a MultiPing object with a list of target addresses, sending pings, and receiving responses with round-trip times. The library supports both one-off pings and retry logic, making it suitable for monitoring single hosts or large clusters without requiring external packages.

The package requires root or elevated privileges to send ICMP packets. It handles both IPv4 and IPv6 addresses, timeouts, and retries. A convenience function provides a simpler interface for basic use cases, while the lower-level API allows fine-grained control over send/receive cycles and state tracking across multiple ping attempts.

Use it for:

  • Monitor availability of multiple servers in a cluster by pinging them periodically.
  • Check network reachability to a set of hosts with automatic retries on timeout.
  • Implement a network diagnostic tool that reports response times for a list of addresses.
  • Track which hosts in a group are currently reachable without spawning external processes.
  • Build a health-check system that retries failed pings over a specified time window.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

MultiPing sends ICMP echo requests (pings) to one or many IP addresses and collects response times, supporting both IPv4 and IPv6 with no external dependencies.

No. The package is abandoned (last release 2018-05-24, last commit 2022-12-20) and has not been updated for modern Python versions. While it has no known vulnerabilities and low install friction, the lack of maintenance poses a risk for long-term use. For active projects, consider maintained alternatives.

Install

multiping on PyPI

pip

pip install multiping

uv

uv add multiping

poetry

poetry add multiping

Installing multiping

Before you install

Low friction install with no runtime dependencies. However, the package is abandoned—last release was 2018-05-24 and last commit 2022-12-20 with no active maintenance.

License in practice

Licensed under Apache Software License (permissive), which allows commercial and private use with minimal restrictions.

Quickstart

from multiping import MultiPing

mp = MultiPing(["8.8.8.8", "127.0.0.1"])
mp.send()
responses, no_responses = mp.receive(1)

for addr, rtt in responses.items():
    print(f"{addr} responded in {rtt} seconds")

Requires root or elevated privileges to send ICMP packets.

Verify before relying

  • Whether the package works reliably on modern Python versions despite being unmaintained.
  • Whether ICMP socket behavior has changed on recent systems.
  • Whether IPv6 support is complete and tested on current systems.

Package facts

License Apache Software License (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance abandoned — 3,004 days since the last release
Last repo commit
First released
Downloads 334,353/month — #7,491 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: multiping-1.1.2-py2-none-any.whl; multiping-1.1.2-py2.py3-none-any.whl

Environment :: PluginsIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishOperating System :: POSIX :: LinuxProgramming Language :: PythonTopic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Monitoring

Tags

ping multiple hosts pythonicmp echo requestsmonitor ip addressesbatch ping toolipv4 ipv6 ping librarynetwork host monitoringpure python ping
networkingicmpunmaintained

More Python Modules packages