https://github.com/mauricelambert/tracert
This package implements a traceroute tool faster than traceroute/tracert executable
https://github.com/mauricelambert/tracert
debug network ping pypi-package python3 scapy traceroute tracert
Last synced: 10 months ago
JSON representation
This package implements a traceroute tool faster than traceroute/tracert executable
- Host: GitHub
- URL: https://github.com/mauricelambert/tracert
- Owner: mauricelambert
- License: gpl-3.0
- Created: 2023-04-29T10:07:30.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-29T10:08:03.000Z (about 3 years ago)
- Last Synced: 2025-08-23T05:04:45.429Z (10 months ago)
- Topics: debug, network, ping, pypi-package, python3, scapy, traceroute, tracert
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README

# Tracert
## Description
This package implements a traceroute tool faster than traceroute/tracert executable but less accurate for response and without hostname resolution.
## Requirements
This package require :
- python3
- python3 Standard Library
- Scapy
- PythonToolsKit
## Installation
```bash
pip install Tracert
```
## Usages
### Command lines
```bash
python3 -m Tracert 8.8.8.8
python3 Tracert.pyz dns.google.com
Tracert 8.8.4.4
Tracert --help
Tracert -h
Tracert -6 -t 2 -r 5 -s 64 dns.google.com
```
### Python3
```python
from Tracert import tracert
tracert("8.8.8.8")
tracert("dns.google.com", 6, 64, 2, 5)
```
## Links
- [Github Page](https://github.com/mauricelambert/Tracert)
- [Pypi](https://pypi.org/project/Tracert/)
- [Documentation](https://mauricelambert.github.io/info/python/code/Tracert.html)
- [Executable](https://mauricelambert.github.io/info/python/code/Tracert.pyz)
## Help
```text
usage: traceroute.py [-h] [-4 | -6] [--timeout TIMEOUT] [--retry RETRY] [--max-steps MAX_STEPS] destination
Fast tracert tool.
positional arguments:
destination IP or hostname you want to trace.
options:
-h, --help show this help message and exit
-4 Force IPv4.
-6 Force IPv6.
--timeout TIMEOUT, -t TIMEOUT
Timeout for each ping.
--retry RETRY, -r RETRY
Number of retry for each steps.
--max-steps MAX_STEPS, -s MAX_STEPS
Maximum steps to trace.
```
## Licence
Licensed under the [GPL, version 3](https://www.gnu.org/licenses/).