pesping 1.2.2__tar.gz → 1.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pesping-1.3.0/PKG-INFO +73 -0
- pesping-1.3.0/README.md +58 -0
- pesping-1.3.0/pyproject.toml +23 -0
- pesping-1.3.0/src/pesping.egg-info/PKG-INFO +73 -0
- {pesping-1.2.2 → pesping-1.3.0}/src/pesping.egg-info/SOURCES.txt +3 -1
- pesping-1.3.0/src/pesping.egg-info/requires.txt +5 -0
- pesping-1.3.0/src/pesping.egg-info/top_level.txt +2 -0
- {pesping-1.2.2 → pesping-1.3.0}/src/pesping.py +348 -45
- pesping-1.3.0/src/pesping_tui.py +74 -0
- {pesping-1.2.2 → pesping-1.3.0}/tests/test_pesping.py +58 -15
- pesping-1.3.0/tests/test_preview.py +122 -0
- pesping-1.2.2/PKG-INFO +0 -138
- pesping-1.2.2/README.md +0 -116
- pesping-1.2.2/pyproject.toml +0 -30
- pesping-1.2.2/src/pesping.egg-info/PKG-INFO +0 -138
- pesping-1.2.2/src/pesping.egg-info/requires.txt +0 -7
- pesping-1.2.2/src/pesping.egg-info/top_level.txt +0 -1
- {pesping-1.2.2 → pesping-1.3.0}/LICENSE +0 -0
- {pesping-1.2.2 → pesping-1.3.0}/setup.cfg +0 -0
- {pesping-1.2.2 → pesping-1.3.0}/src/pesping.egg-info/dependency_links.txt +0 -0
- {pesping-1.2.2 → pesping-1.3.0}/src/pesping.egg-info/entry_points.txt +0 -0
pesping-1.3.0/PKG-INFO
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pesping
|
|
3
|
+
Version: 1.3.0
|
|
4
|
+
Summary: ICMP scan, monitoring and native IPv4 traceroute with simple tables
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
Keywords: icmp,ping,traceroute,network-monitor,network-automation
|
|
7
|
+
Requires-Python: >=3.10
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Requires-Dist: tabulate>=0.9
|
|
11
|
+
Requires-Dist: textual>=0.75
|
|
12
|
+
Provides-Extra: excel
|
|
13
|
+
Requires-Dist: openpyxl>=3.1; extra == "excel"
|
|
14
|
+
Dynamic: license-file
|
|
15
|
+
|
|
16
|
+
# pesping v1.3.0
|
|
17
|
+
|
|
18
|
+
**Stable release v1.3.0.**
|
|
19
|
+
|
|
20
|
+
Simple network diagnostics for engineers: concurrent ICMP scan, availability monitoring, native IPv4 ICMP traceroute with tabulate-style tables, JSON and Excel exports.
|
|
21
|
+
|
|
22
|
+
## Install from this folder
|
|
23
|
+
|
|
24
|
+
```powershell
|
|
25
|
+
py -m pip install -e ".[excel]"
|
|
26
|
+
pesping --help
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Short CLI flags
|
|
30
|
+
|
|
31
|
+
| Short | Long | Purpose |
|
|
32
|
+
| --- | --- | --- |
|
|
33
|
+
| `-h` | `--host` | One host or IP; `--help` displays help |
|
|
34
|
+
| `-hf` | `--hostfile` | Named or unnamed hosts file |
|
|
35
|
+
| `-t` | `--traceroute` | Native ICMP IPv4 traceroute |
|
|
36
|
+
| `-s` | `--subnet` | CIDR subnet |
|
|
37
|
+
| `-r` | `--range` | Inclusive IP range |
|
|
38
|
+
| `-a` | `--all` | Full scan statistics |
|
|
39
|
+
|
|
40
|
+
Other existing options remain: `-sf`, `-c` (4 probes per target by default), `--monitor`, `--timeout`, `--workers`, `--show`, `--json`, `--excel`, `--exclude`, and others.
|
|
41
|
+
|
|
42
|
+
## Examples
|
|
43
|
+
|
|
44
|
+
```powershell
|
|
45
|
+
pesping -h 192.0.2.10
|
|
46
|
+
pesping -hf hosts.txt
|
|
47
|
+
pesping -hf hosts.txt -a
|
|
48
|
+
pesping -hf hosts.txt -c 100 -a
|
|
49
|
+
pesping -r 192.0.2.100-200
|
|
50
|
+
pesping -s 198.51.100.0/26
|
|
51
|
+
pesping -h 192.0.2.50 -t
|
|
52
|
+
pesping -hf hosts.txt -t --max-hops 30 --trace-probes 3
|
|
53
|
+
pesping -h 192.0.2.50 -t --json trace.json --excel trace.xlsx
|
|
54
|
+
pesping --help
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Normal ping output has `HOST | IP | STATUS`. Use `-a` for detailed ICMP results. `UP` means all sent probes received verified replies; `DEGRADED` means some valid replies; `DOWN` means zero valid replies. Errors such as `Destination host unreachable` are not accepted as successful replies.
|
|
58
|
+
|
|
59
|
+
Traceroute displays `HOP | IP | RTT 1 | RTT 2 | RTT 3 | STATUS` and a familiar summary. Each hop uses three native IPv4 ICMP Echo Requests with incrementing TTL. On Windows it calls IP Helper's `IcmpSendEcho`; Linux/macOS require privileges for raw ICMP sockets (`sudo` / `CAP_NET_RAW` or equivalent). Native traceroute is available for IPv4 only in this preview. Per-hop addresses can differ due to ECMP; the table shows the first address observed for that TTL. Windows-specific behavior is not yet validated on Windows machines.
|
|
60
|
+
|
|
61
|
+
**Important:** The normal ping scanner still executes the system `ping` command but now checks its output for a valid reply to the expected IP. A full cross-platform migration to a native ping engine is a separate step. Neither an ICMP failure nor an unresponsive traceroute hop proves the destination device is off. Traceroute results are not proof of application-layer health.
|
|
62
|
+
|
|
63
|
+
All example addresses belong to RFC 5737 documentation ranges. Do not scan systems without authorization.
|
|
64
|
+
|
|
65
|
+
## Interactive Textual UI
|
|
66
|
+
|
|
67
|
+
When a **finite** scan or traceroute completes in an interactive terminal, pesping displays a table with expandable `PING SCAN SUMMARY` / `TRACEROUTE SUMMARY` and optional `DETAILED STATISTICS` (`-a`). Click or use the keyboard to expand/collapse; press `q` to quit. Supported in PowerShell and the VS Code integrated terminal when attached to a real TTY.
|
|
68
|
+
|
|
69
|
+
- `--tui`: force the interactive results UI.
|
|
70
|
+
- `--no-tui`: print traditional `tabulate` output and `rich.Panel`/ASCII summaries for scripting and logs.
|
|
71
|
+
- Continuous `--monitor` still uses classic output; an interactive live monitoring view is not included yet.
|
|
72
|
+
|
|
73
|
+
**Note:** IPv4 traceroute sends native ICMP probes. Standard ping still invokes the OS `ping` command and checks for a valid Echo Reply. Validate Windows ICMP APIs and Linux/macOS raw socket permissions before publishing.
|
pesping-1.3.0/README.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# pesping v1.3.0
|
|
2
|
+
|
|
3
|
+
**Stable release v1.3.0.**
|
|
4
|
+
|
|
5
|
+
Simple network diagnostics for engineers: concurrent ICMP scan, availability monitoring, native IPv4 ICMP traceroute with tabulate-style tables, JSON and Excel exports.
|
|
6
|
+
|
|
7
|
+
## Install from this folder
|
|
8
|
+
|
|
9
|
+
```powershell
|
|
10
|
+
py -m pip install -e ".[excel]"
|
|
11
|
+
pesping --help
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Short CLI flags
|
|
15
|
+
|
|
16
|
+
| Short | Long | Purpose |
|
|
17
|
+
| --- | --- | --- |
|
|
18
|
+
| `-h` | `--host` | One host or IP; `--help` displays help |
|
|
19
|
+
| `-hf` | `--hostfile` | Named or unnamed hosts file |
|
|
20
|
+
| `-t` | `--traceroute` | Native ICMP IPv4 traceroute |
|
|
21
|
+
| `-s` | `--subnet` | CIDR subnet |
|
|
22
|
+
| `-r` | `--range` | Inclusive IP range |
|
|
23
|
+
| `-a` | `--all` | Full scan statistics |
|
|
24
|
+
|
|
25
|
+
Other existing options remain: `-sf`, `-c` (4 probes per target by default), `--monitor`, `--timeout`, `--workers`, `--show`, `--json`, `--excel`, `--exclude`, and others.
|
|
26
|
+
|
|
27
|
+
## Examples
|
|
28
|
+
|
|
29
|
+
```powershell
|
|
30
|
+
pesping -h 192.0.2.10
|
|
31
|
+
pesping -hf hosts.txt
|
|
32
|
+
pesping -hf hosts.txt -a
|
|
33
|
+
pesping -hf hosts.txt -c 100 -a
|
|
34
|
+
pesping -r 192.0.2.100-200
|
|
35
|
+
pesping -s 198.51.100.0/26
|
|
36
|
+
pesping -h 192.0.2.50 -t
|
|
37
|
+
pesping -hf hosts.txt -t --max-hops 30 --trace-probes 3
|
|
38
|
+
pesping -h 192.0.2.50 -t --json trace.json --excel trace.xlsx
|
|
39
|
+
pesping --help
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Normal ping output has `HOST | IP | STATUS`. Use `-a` for detailed ICMP results. `UP` means all sent probes received verified replies; `DEGRADED` means some valid replies; `DOWN` means zero valid replies. Errors such as `Destination host unreachable` are not accepted as successful replies.
|
|
43
|
+
|
|
44
|
+
Traceroute displays `HOP | IP | RTT 1 | RTT 2 | RTT 3 | STATUS` and a familiar summary. Each hop uses three native IPv4 ICMP Echo Requests with incrementing TTL. On Windows it calls IP Helper's `IcmpSendEcho`; Linux/macOS require privileges for raw ICMP sockets (`sudo` / `CAP_NET_RAW` or equivalent). Native traceroute is available for IPv4 only in this preview. Per-hop addresses can differ due to ECMP; the table shows the first address observed for that TTL. Windows-specific behavior is not yet validated on Windows machines.
|
|
45
|
+
|
|
46
|
+
**Important:** The normal ping scanner still executes the system `ping` command but now checks its output for a valid reply to the expected IP. A full cross-platform migration to a native ping engine is a separate step. Neither an ICMP failure nor an unresponsive traceroute hop proves the destination device is off. Traceroute results are not proof of application-layer health.
|
|
47
|
+
|
|
48
|
+
All example addresses belong to RFC 5737 documentation ranges. Do not scan systems without authorization.
|
|
49
|
+
|
|
50
|
+
## Interactive Textual UI
|
|
51
|
+
|
|
52
|
+
When a **finite** scan or traceroute completes in an interactive terminal, pesping displays a table with expandable `PING SCAN SUMMARY` / `TRACEROUTE SUMMARY` and optional `DETAILED STATISTICS` (`-a`). Click or use the keyboard to expand/collapse; press `q` to quit. Supported in PowerShell and the VS Code integrated terminal when attached to a real TTY.
|
|
53
|
+
|
|
54
|
+
- `--tui`: force the interactive results UI.
|
|
55
|
+
- `--no-tui`: print traditional `tabulate` output and `rich.Panel`/ASCII summaries for scripting and logs.
|
|
56
|
+
- Continuous `--monitor` still uses classic output; an interactive live monitoring view is not included yet.
|
|
57
|
+
|
|
58
|
+
**Note:** IPv4 traceroute sends native ICMP probes. Standard ping still invokes the OS `ping` command and checks for a valid Echo Reply. Validate Windows ICMP APIs and Linux/macOS raw socket permissions before publishing.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=68", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "pesping"
|
|
7
|
+
version = "1.3.0"
|
|
8
|
+
description = "ICMP scan, monitoring and native IPv4 traceroute with simple tables"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.10"
|
|
11
|
+
license = "MIT"
|
|
12
|
+
keywords = ["icmp", "ping", "traceroute", "network-monitor", "network-automation"]
|
|
13
|
+
dependencies = ["tabulate>=0.9", "textual>=0.75"]
|
|
14
|
+
|
|
15
|
+
[project.optional-dependencies]
|
|
16
|
+
excel = ["openpyxl>=3.1"]
|
|
17
|
+
|
|
18
|
+
[project.scripts]
|
|
19
|
+
pesping = "pesping:main"
|
|
20
|
+
|
|
21
|
+
[tool.setuptools]
|
|
22
|
+
package-dir = {"" = "src"}
|
|
23
|
+
py-modules = ["pesping", "pesping_tui"]
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pesping
|
|
3
|
+
Version: 1.3.0
|
|
4
|
+
Summary: ICMP scan, monitoring and native IPv4 traceroute with simple tables
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
Keywords: icmp,ping,traceroute,network-monitor,network-automation
|
|
7
|
+
Requires-Python: >=3.10
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Requires-Dist: tabulate>=0.9
|
|
11
|
+
Requires-Dist: textual>=0.75
|
|
12
|
+
Provides-Extra: excel
|
|
13
|
+
Requires-Dist: openpyxl>=3.1; extra == "excel"
|
|
14
|
+
Dynamic: license-file
|
|
15
|
+
|
|
16
|
+
# pesping v1.3.0
|
|
17
|
+
|
|
18
|
+
**Stable release v1.3.0.**
|
|
19
|
+
|
|
20
|
+
Simple network diagnostics for engineers: concurrent ICMP scan, availability monitoring, native IPv4 ICMP traceroute with tabulate-style tables, JSON and Excel exports.
|
|
21
|
+
|
|
22
|
+
## Install from this folder
|
|
23
|
+
|
|
24
|
+
```powershell
|
|
25
|
+
py -m pip install -e ".[excel]"
|
|
26
|
+
pesping --help
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Short CLI flags
|
|
30
|
+
|
|
31
|
+
| Short | Long | Purpose |
|
|
32
|
+
| --- | --- | --- |
|
|
33
|
+
| `-h` | `--host` | One host or IP; `--help` displays help |
|
|
34
|
+
| `-hf` | `--hostfile` | Named or unnamed hosts file |
|
|
35
|
+
| `-t` | `--traceroute` | Native ICMP IPv4 traceroute |
|
|
36
|
+
| `-s` | `--subnet` | CIDR subnet |
|
|
37
|
+
| `-r` | `--range` | Inclusive IP range |
|
|
38
|
+
| `-a` | `--all` | Full scan statistics |
|
|
39
|
+
|
|
40
|
+
Other existing options remain: `-sf`, `-c` (4 probes per target by default), `--monitor`, `--timeout`, `--workers`, `--show`, `--json`, `--excel`, `--exclude`, and others.
|
|
41
|
+
|
|
42
|
+
## Examples
|
|
43
|
+
|
|
44
|
+
```powershell
|
|
45
|
+
pesping -h 192.0.2.10
|
|
46
|
+
pesping -hf hosts.txt
|
|
47
|
+
pesping -hf hosts.txt -a
|
|
48
|
+
pesping -hf hosts.txt -c 100 -a
|
|
49
|
+
pesping -r 192.0.2.100-200
|
|
50
|
+
pesping -s 198.51.100.0/26
|
|
51
|
+
pesping -h 192.0.2.50 -t
|
|
52
|
+
pesping -hf hosts.txt -t --max-hops 30 --trace-probes 3
|
|
53
|
+
pesping -h 192.0.2.50 -t --json trace.json --excel trace.xlsx
|
|
54
|
+
pesping --help
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Normal ping output has `HOST | IP | STATUS`. Use `-a` for detailed ICMP results. `UP` means all sent probes received verified replies; `DEGRADED` means some valid replies; `DOWN` means zero valid replies. Errors such as `Destination host unreachable` are not accepted as successful replies.
|
|
58
|
+
|
|
59
|
+
Traceroute displays `HOP | IP | RTT 1 | RTT 2 | RTT 3 | STATUS` and a familiar summary. Each hop uses three native IPv4 ICMP Echo Requests with incrementing TTL. On Windows it calls IP Helper's `IcmpSendEcho`; Linux/macOS require privileges for raw ICMP sockets (`sudo` / `CAP_NET_RAW` or equivalent). Native traceroute is available for IPv4 only in this preview. Per-hop addresses can differ due to ECMP; the table shows the first address observed for that TTL. Windows-specific behavior is not yet validated on Windows machines.
|
|
60
|
+
|
|
61
|
+
**Important:** The normal ping scanner still executes the system `ping` command but now checks its output for a valid reply to the expected IP. A full cross-platform migration to a native ping engine is a separate step. Neither an ICMP failure nor an unresponsive traceroute hop proves the destination device is off. Traceroute results are not proof of application-layer health.
|
|
62
|
+
|
|
63
|
+
All example addresses belong to RFC 5737 documentation ranges. Do not scan systems without authorization.
|
|
64
|
+
|
|
65
|
+
## Interactive Textual UI
|
|
66
|
+
|
|
67
|
+
When a **finite** scan or traceroute completes in an interactive terminal, pesping displays a table with expandable `PING SCAN SUMMARY` / `TRACEROUTE SUMMARY` and optional `DETAILED STATISTICS` (`-a`). Click or use the keyboard to expand/collapse; press `q` to quit. Supported in PowerShell and the VS Code integrated terminal when attached to a real TTY.
|
|
68
|
+
|
|
69
|
+
- `--tui`: force the interactive results UI.
|
|
70
|
+
- `--no-tui`: print traditional `tabulate` output and `rich.Panel`/ASCII summaries for scripting and logs.
|
|
71
|
+
- Continuous `--monitor` still uses classic output; an interactive live monitoring view is not included yet.
|
|
72
|
+
|
|
73
|
+
**Note:** IPv4 traceroute sends native ICMP probes. Standard ping still invokes the OS `ping` command and checks for a valid Echo Reply. Validate Windows ICMP APIs and Linux/macOS raw socket permissions before publishing.
|
|
@@ -2,10 +2,12 @@ LICENSE
|
|
|
2
2
|
README.md
|
|
3
3
|
pyproject.toml
|
|
4
4
|
src/pesping.py
|
|
5
|
+
src/pesping_tui.py
|
|
5
6
|
src/pesping.egg-info/PKG-INFO
|
|
6
7
|
src/pesping.egg-info/SOURCES.txt
|
|
7
8
|
src/pesping.egg-info/dependency_links.txt
|
|
8
9
|
src/pesping.egg-info/entry_points.txt
|
|
9
10
|
src/pesping.egg-info/requires.txt
|
|
10
11
|
src/pesping.egg-info/top_level.txt
|
|
11
|
-
tests/test_pesping.py
|
|
12
|
+
tests/test_pesping.py
|
|
13
|
+
tests/test_preview.py
|