pyfping
ping-like pythonic pinger, works for multiple hosts
usage: ping.py [-h] [-f FILENAME] [-c COUNT] [-i INTERVAL] [-s SIZE] [host]
python ping script similar to fping
positional arguments:
host single target host
optional arguments:
-h, --help show this help message and exit
-f FILENAME, --file FILENAME
file contains host list
-c COUNT, --count COUNT
icmp packet count to a destination
-i INTERVAL, --interval INTERVAL
icmp packet interval to a destination
-s SIZE, --size SIZE icmp packet size
Result is like below:
admin$ pyfping -f some_file_contain_target_hosts
Ping www.baidu.com (110.242.68.3): 98 data bytes
Ping www.taobao.com (121.29.9.227): 98 data bytes
106 bytes from www.baidu.com(110.242.68.3): icmp_seq=0 ttl=44 time=44.3398 ms
106 bytes from www.taobao.com(121.29.9.227): icmp_seq=0 ttl=46 time=38.8643 ms
106 bytes from www.baidu.com(110.242.68.3): icmp_seq=1 ttl=44 time=44.9580 ms
106 bytes from www.taobao.com(121.29.9.227): icmp_seq=1 ttl=46 time=38.3545 ms
106 bytes from www.baidu.com(110.242.68.3): icmp_seq=2 ttl=44 time=44.3999 ms
106 bytes from www.taobao.com(121.29.9.227): icmp_seq=2 ttl=46 time=38.4810 ms
106 bytes from www.baidu.com(110.242.68.3): icmp_seq=3 ttl=44 time=44.8110 ms
106 bytes from www.taobao.com(121.29.9.227): icmp_seq=3 ttl=46 time=39.9470 ms
--- www.baidu.com ping statistics ---
4 packets transmitted, 4 packets received, 0.00% packet loss
round-trip min/avg/max/stddev = 44.34/44.63/44.96/0.26 ms
--- www.taobao.com ping statistics ---
4 packets transmitted, 4 packets received, 0.00% packet loss
round-trip min/avg/max/stddev = 38.35/38.91/39.95/0.63 ms
Metadata
Release files for pyfping 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyfping-1.0.1.tar.gz | 6.0 kB | Without provenance | Details for pyfping-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyfping-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for pyfping-1.0.1-py3-none-any.whl |
Total release size: 12.4 kB
Release files / pyfping-1.0.1.tar.gz
| Download URL | pyfping-1.0.1.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
78dd62ecee5d02ef32165f8d2362b24ddb448f2fc6f952a7c70b4739a2150dcc
|
|
BLAKE2b-256 checksum How to use checksums |
b211bf8302c2132fc0308b89e40eff3d920991e54f79dfe8352a1f30f5b45da7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.6
|
Release files / pyfping-1.0.1-py3-none-any.whl
| Download URL | pyfping-1.0.1-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e0a1468e6cc79495153aa25f7c6d43040a931782d37fc3b4b89275be8a5a0be0
|
|
BLAKE2b-256 checksum How to use checksums |
36a433c814fc922aef63d5b971086a02b0564023c809257f29aa6c1b982dc6ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.6
|
Security for pyfping 1.0.1
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.