Skip to main content

cPing

Build status Coverage status Downloads Maintainability PyPI version

cPing concurrently checks if hosts are responding using ICMP echo or TCP SYN.

Installation

pip3 install cping

Usage

cPing uses unprivileged sockets; no need for root privileges.

cping host1 host2

alt text

Tip: When you launch cPing, look at the footer; it's got some useful actions.

Help

See the available arguments to adjust the behavior of cPing or use a different protocol.

cping -h

If you found a bug, or just have a question/suggestion, please open an issue (greatly appreciated).

Sparkline on Windows

The sparkline (right part of the screenshot) is simplified on Windows as it doesn't support the required block characters. If you know of any substitutes, let me know.

Unprivileged ICMP Sockets

If you're getting a Permission denied exception, it is likely that your OS is too old to have unprivileged ICMP sockets enabled by default. You can enable this with:

sudo sh -c 'echo net.ipv4.ping_group_range = 0 2147483647 >> /etc/sysctl.conf'
sudo sysctl -p

Metadata

Release files for cping 0.1.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cping 0.1.11
File Size Uploaded Provenance Actions
cping-0.1.11.tar.gz 27.8 kB Without provenance Details for cping-0.1.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cping 0.1.11
File Interpreter ABI Platform Actions
cping-0.1.11-py3-none-any.whl Python 3 none any Details for cping-0.1.11-py3-none-any.whl

Total release size: 61.8 kB

Release files / cping-0.1.11.tar.gz

Download URL cping-0.1.11.tar.gz
Size 27.8 kB
Tags Source
SHA-256 checksum
How to use checksums
89bcbd8d8d1c43dbb40b4a388c4178ecd7379ceb265baacf469ee17e7c4e5e81
BLAKE2b-256 checksum
How to use checksums
9a5b99896de4b0e4380ed2e5424ba2bd123f5ae22b75e6bdd1b3490c28a0eb7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / cping-0.1.11-py3-none-any.whl

Download URL cping-0.1.11-py3-none-any.whl
Size 34.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3929b3eae77f1de693fe93c5703a36b26ee0c6430ca6b81e43ba63ebc053df41
BLAKE2b-256 checksum
How to use checksums
ccebf2f7ae3c993611620ae29a2c975d7c8e7b535f1ac78fc4902c62e1b4db18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for cping 0.1.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page