A simple parallel ipv4 ping utility
Project description
Simple parallel ipv4 ping library / cli utility.
Cli accepts ip range input, e.g. 10.10.10.1-255, and returns 2 lists, responding and non-responding ips
This originated from need to quick-check many IPs after disaster-recovery excercises. intended to be moldable, and propably offers most of its value as an example of using python lists in unusual ways :)
Sample usage scanning 192.168.0.1/30:
Python 3.9.6 (default, Nov 10 2023, 13:38:27)
[Clang 15.0.0 (clang-1500.1.0.2.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import parping
>>> p = parping.Parping()
>>> p.parping_range('192.168.0.1','30')
parsing 192.168.0.1/30
prepinging 192.168.0.0
Darwin/MacOS detected..
Adding 192.168.0.0 to iplist..
prepinging 192.168.0.1
Darwin/MacOS detected..
Adding 192.168.0.1 to iplist..
prepinging 192.168.0.2
Darwin/MacOS detected..
Adding 192.168.0.2 to iplist..
prepinging 192.168.0.3
Darwin/MacOS detected..
Adding 192.168.0.3 to iplist..
192.168.0.1 active
192.168.0.0 returned error
192.168.0.3 returned error
192.168.0.2 returned error
Summary:
1 responding IPs.
3 non-responding IPs
(1, 3)
>>>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file parping-0.0.2.tar.gz.
File metadata
- Download URL: parping-0.0.2.tar.gz
- Upload date:
- Size: 18.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fa0b32edc86e4a0c4b57b260139e33ccb2015d43e1a930e5e491a0c407c985f
|
|
| MD5 |
397c7194c2d4b21859fa22e5779efc19
|
|
| BLAKE2b-256 |
fcbf9dd8116f151c020645fbbd8df517ff34600ea81288b00b3648c402b6e95f
|
File details
Details for the file parping-0.0.2-py3-none-any.whl.
File metadata
- Download URL: parping-0.0.2-py3-none-any.whl
- Upload date:
- Size: 17.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
881f830d9bb33028d4aa816e8300e06397a469d96225ad2eaf783258f84ef353
|
|
| MD5 |
dca5ca3c1c77f4579fd95cd86c3be0e4
|
|
| BLAKE2b-256 |
0d3060a7b9e730c3e3dd918394ff40d3ebf0292ad900ce8619149f9ad9abf6bc
|