{"categories":[{"label":"Networking","url":"https://skillfed.io/packages/category/system-networking"}],"enrichment":{"capability":"Sends ICMP ping requests to remote hosts from Python, returning response metadata like latency and success status, with optional verbose terminal-style output.","skillfed_tags":["network-diagnostics","icmp","requires-root"],"use_cases":["Monitor host availability in a network management or alerting system by periodically pinging targets and collecting latency metrics.","Perform network diagnostics in a troubleshooting script to verify connectivity and measure latency to remote servers.","Implement a ping sweep to test a range of payload sizes and detect MTU or fragmentation issues on a network path.","Integrate ICMP probing into a custom application that needs to detect network outages or measure end-to-end latency without spawning subprocesses."],"what_it_does":"Pythonping is a Python library for sending ICMP echo requests (pings) to remote hosts, mimicking the behavior of the terminal ping command. It exposes a simple `ping()` function for basic use and modular classes (`Communicator`, `PayloadProvider`) for integration into larger applications. The library constructs raw IP packets and captures responses, returning a `ResponseList` object containing individual `Response` items with latency, packet size, and error information.\n\nThe package is designed for network diagnostics, host reachability testing, and latency measurement in Python scripts and applications. It supports customization via parameters like payload size, timeout, packet count, sweep ranges, and the Don't Fragment flag. Because ICMP requires raw socket access, the package mandates root or administrator privileges on all operating systems\u2014a fundamental OS-level constraint, not a library limitation.","worth_installing":"Yes, if you need ICMP ping from Python and can run as root. The library is stable (Production/Stable classifier), has no dependencies, and carries no known vulnerabilities. However, maintenance is dormant (last release 2022-10-25); verify compatibility with your Python version before deploying. The root requirement is a hard constraint\u2014unsuitable for unprivileged environments."},"id":"pythonping","links":{"html":"https://skillfed.io/packages/pythonping","md":"https://skillfed.io/packages/pythonping.md","pypi":"https://pypi.org/project/pythonping/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2022-10-25","license_spdx":null,"license_treatment":"permissive","name":"pythonping","python_support":"unspecified","summary":"A simple way to ping in Python"},"popularity":{"monthly_downloads":492442,"position":6359,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.1.4"}
