$npx skillfedfor your agent

icmplib

Easily forge ICMP packets and make your own ping and traceroute.

Worth itPyPI LibrariesReleased Oct 20231.2M downloads / mocopyleft licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — icmplib-3.0.4-py3-none-any.whl
v3.0.4 · released 2023-10-10 · Python >=3.7

Yes, for network diagnostics and monitoring tasks. The package is stable, dependency-free, and widely used (top 5000 on PyPI). The main consideration is that maintenance is dormant as of the fact sheet date—verify compatibility with your Python version and that any security or compatibility issues with recent Python releases have been addressed before adopting in production.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.7 or later.
  • On Unix systems, privileged mode (default) requires root or appropriate capabilities; unprivileged mode available but requires kernel support.
  • Installation is straightforward with no external dependencies.

License · maintenance · safety

copyleft license (copyleft) — Licensed under GNU Lesser General Public License v3.0 (copyleft). You may use and modify the library freely, but any derivative works must also be licensed under LGPLv3 and source code must be made available to recipients.

last release 2023-10-10 (1039 days) · last repo commit 2024-02-07 · 308 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,194,341 downloads/mo, #4,234 on PyPI

Verify before relying

pip install icmplib

from icmplib import ping

host = ping('1.1.1.1', count=4)
print(f"Host {host.address} is alive: {host.is_alive}")
print(f"Average RTT: {host.avg_rtt} ms")
  • Whether the dormant maintenance status (last release October 2023) affects stability or security for current Python versions
  • Specific behavior differences between privileged and unprivileged modes on different operating systems
Same gist for agents: .md · .json

What it is and what it does

icmplib is a pure Python ICMP protocol implementation that lets you send ping requests, perform concurrent multiping operations, and run traceroute diagnostics without external dependencies. It works with both IPv4 and IPv6 addresses, supports asynchronous operations via asyncio, and can run in either privileged mode (full packet control, typically requires root) or unprivileged mode (kernel-managed, no special privileges needed).

The library is designed for developers who need to build network diagnostics tools, monitor host reachability, or implement custom ICMP-based applications. It provides ready-to-use functions like `ping()`, `multiping()`, and `traceroute()` for common tasks, as well as low-level socket classes (`ICMPv4Socket`, `ICMPv6Socket`) for building custom implementations. Cross-platform support for Linux, macOS, and Windows is built in.

Use it for

  • Check if a host is reachable and measure latency with ping() or async_ping() in monitoring scripts
  • Perform concurrent reachability checks on multiple hosts using multiping() for network surveys
  • Build network diagnostics tools that trace the path packets take to a destination with traceroute()
  • Implement custom ICMP-based applications by working directly with ICMPv4Socket and ICMPv6Socket classes
  • Monitor network quality metrics like jitter and packet loss in real-time applications

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes, for network diagnostics and monitoring tasks.

The package is stable, dependency-free, and widely used (top 5000 on PyPI). The main consideration is that maintenance is dormant as of the fact sheet date—verify compatibility with your Python version and that any security or compatibility issues with recent Python releases have been addressed before adopting in production.

Install

icmplib on PyPI

Before you install

Installation is straightforward with no external dependencies. The package is marked Production/Stable and has been actively maintained since 2019, though the last release was in October 2023 and the repository shows dormant status as of the fact sheet date.

Requires Python 3.7 or later. On Unix systems, privileged mode (default) requires root or appropriate capabilities; unprivileged mode available but requires kernel support.

License in practice

Licensed under GNU Lesser General Public License v3.0 (copyleft). You may use and modify the library freely, but any derivative works must also be licensed under LGPLv3 and source code must be made available to recipients.

Quickstart

pip install icmplib

from icmplib import ping

host = ping('1.1.1.1', count=4)
print(f"Host {host.address} is alive: {host.is_alive}")
print(f"Average RTT: {host.avg_rtt} ms")

Verify before relying

  • Whether the dormant maintenance status (last release October 2023) affects stability or security for current Python versions
  • Specific behavior differences between privileged and unprivileged modes on different operating systems

Package facts

Licensecopyleft license copyleft
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceDormant 1,039 days since the last release
Last repo commit
First released
Downloads1,194,341 / month, #4,234 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)Operating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules

Evidence: icmplib-3.0.4-py3-none-any.whl

Tags

Capabilities
ping library pythonicmp protocol implementationnetwork diagnostics pythontraceroute pythonasync pingipv6 ping supportmultiping concurrentraw icmp sockets
Topics
network-diagnosticsasync-ioipv6-ready
PyPI keywords
icmpsocketspingmultipingtracerouteasyncasyncioipv4ipv6pythonpython3

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “icmp protocol implementation”

  • icmplibicmplib provides a pure Python implementation of the ICMP protocol…
  • ping3Ping3 sends ICMP echo requests to hosts and measures round-trip time…
  • aiopingaioping provides an asyncio-based ICMP ping implementation for…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also multiping · python-osc · ping3 · pythonping · aioping · pingparsing · pmd-pytcp · netaddr · rtp · pyroute2