route-graph
CLI tool for creating graphs of routes.
This tool simply wraps the example of TCP traceroute
which is mentioned in the scapy documentation.
# scapy
>>> res, unans = traceroute(["target"], dport=[22, 80, 443], maxttl=20, retry=-2)
>>> res.graph(target="> target.svg")
Requirements
You will need graphviz to be installed. If graphviz is not available
on your system the graph can not be created.
route-graph has to be executed with sudo.
Installation
The package is available in the Python Package Index.
$ pip3 install route-graph --user
To get the lastest state:
$ pip install git+https://github.com/audiusGmbH/route-graph.git
For Nix or NixOS users is a package
available in Nixpkgs. Keep in mind that the lastest releases might only
be present in the unstable channel.
$ nix-env -iA nixos.route-graph
Usage
$ sudo ./route-graph --help
Usage: route-graph [OPTIONS] COMMAND [ARGS]...
Tool to draw a graph of traceroute results.
╭─ Options ───────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --install-completion Install completion for the current shell. │
│ --show-completion Show completion for the current shell, to copy it or customize the installation. │
│ --help Show this message and exit. │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ──────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ graph Create a graph from traceroute results. │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
The graph could then be found in the current directory. The format is svg.
License
route-graph is licensed under MIT, for more details check the LICENSE file.
Metadata
Release files for route-graph 0.4.0
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 |
|---|---|---|---|---|
| route_graph-0.4.0.tar.gz | 3.1 kB | With provenance | Details for route_graph-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| route_graph-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for route_graph-0.4.0-py3-none-any.whl |
Total release size: 7.5 kB
Release files / route_graph-0.4.0.tar.gz
| Download URL | route_graph-0.4.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c9a8e0bce1623eb0b36886a7e88a745f078dcd5206dffbbca0ef6e63635c369
|
|
BLAKE2b-256 checksum How to use checksums |
8df741da048d235d39df603ba6f8ca375536cd6df50f26210cd951120afb07e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 9, 2026.
Transparency logRelease files / route_graph-0.4.0-py3-none-any.whl
| Download URL | route_graph-0.4.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
845ab7e307f8c0bb081a683bbba6bed724151fce1e774ea653caa02dd5f6dff1
|
|
BLAKE2b-256 checksum How to use checksums |
ae021d9d3ee8ac55c4ae9220a8d9fc331e86c961a83b3518b172e380d87e11a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 9, 2026.
Transparency logSecurity for route-graph 0.4.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for route_graph-0.4.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 9, 2026.
Transparency logA 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.