{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/4"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/7"}],"enrichment":{"capability":"icmplib provides a pure Python implementation of the ICMP protocol for sending ping, multiping, and traceroute requests, with support for both IPv4 and IPv6, synchronous and asynchronous operations, and custom socket-level control.","skillfed_tags":["network-diagnostics","async-io","ipv6-ready"],"use_cases":["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"],"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).\n\nThe 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.","worth_installing":"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\u2014verify compatibility with your Python version and that any security or compatibility issues with recent Python releases have been addressed before adopting in production."},"id":"icmplib","links":{"html":"https://skillfed.io/packages/icmplib","md":"https://skillfed.io/packages/icmplib.md","pypi":"https://pypi.org/project/icmplib/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-10-10","license_spdx":null,"license_treatment":"copyleft","name":"icmplib","python_support":"supports_current","summary":"Easily forge ICMP packets and make your own ping and traceroute."},"popularity":{"monthly_downloads":1194341,"position":4234,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"3.0.4"}
