--- id: pingparsing version: "1.4.2" license: MIT License license_treatment: permissive maintenance: dormant --- # pingparsing — pingparsing is a CLI-tool/Python-library parser and transmitter for the ping command. License: permissive · Maintenance: dormant · Downloads: 238.4K/mo ## What it is and what it does pingparsing is a parser and CLI wrapper for the system ping command that converts raw ping output into structured JSON. It works both as a standalone command-line tool and as a Python library, letting you execute ping against one or more destinations and extract metrics like round-trip times, packet loss rates, and duplicate counts. The library can also parse ping output from files or standard input, making it useful for post-processing historical ping data or integrating ping results into monitoring pipelines. The package depends on humanreadable, pyparsing, subprocrunner, and typepy to handle text parsing, subprocess management, and type validation. It supports Python 3.7 through 3.12 and runs on Linux, macOS, and Windows. The CLI outputs results in JSON format, optionally including detailed ICMP reply information when requested. Use it for: - Monitor network latency to multiple remote hosts by running parallel pings and collecting statistics in JSON for downstream processing. - Parse historical ping logs from files to extract and analyze packet loss and round-trip time trends. - Integrate ping measurements into a Python monitoring or alerting system without manually parsing text output. - Build a network diagnostics dashboard that collects ping statistics from multiple destinations and formats them for visualization. - Automate network health checks in CI/CD pipelines by executing ping and parsing results programmatically. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Executes and parses ping command output, extracting round-trip time statistics, packet loss, and ICMP reply details into structured JSON; available as both a CLI tool and Python library. Yes, if you need to parse ping output programmatically or run ping from a CLI with JSON output. The package is stable and carries no known vulnerabilities. Install friction is low and dependencies are lightweight. The main caveat is dormant maintenance—no updates in 834 days—so if you encounter bugs or need support for new ping output formats, you may need to fork or patch it yourself. Suitable for monitoring, diagnostics, and integration tasks where ping parsing is a small part of a larger system. ## Install pip install pingparsing uv add pingparsing poetry add pingparsing ## Installing pingparsing Before you install: Low install friction with a pure-Python wheel distribution. Maintenance is dormant (834 days since last release), but the package is marked Production/Stable and the repository remains active with no archival flag. License in practice: MIT License permits commercial and private use with minimal restrictions, requiring only license and copyright notice retention. Quickstart: pip install pingparsing from pingparsing import PingParsing ping = PingParsing() result = ping.ping("google.com") print(result.as_json()) The ping command must be available on the system; on some restricted environments or containers, ping may be disabled or require elevated privileges. Verify before relying: - Whether parallel ping execution across multiple destinations is truly concurrent or sequential. - Compatibility with non-standard ping implementations (e.g., busybox, Windows ICMP). - Performance characteristics when parsing very large ping result files or many simultaneous destinations. ## Package facts - License: MIT License (permissive) - Python support: supports_current - Install friction: low - Maintenance: dormant - Downloads: 238.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags ping output parser, parse ping results, ping statistics extraction, network latency measurement, cli ping tool, ICMP reply parsing, ping command wrapper, network-diagnostics, cli-tool, json-output [View on SkillFed](https://skillfed.io/packages/pingparsing) · [View on PyPI](https://pypi.org/project/pingparsing/)