Tool for creating graphs of routes
Project description
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.
Project details
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 route_graph-0.4.0.tar.gz.
File metadata
- Download URL: route_graph-0.4.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c9a8e0bce1623eb0b36886a7e88a745f078dcd5206dffbbca0ef6e63635c369
|
|
| MD5 |
76526430754d79bb56dc4b84e5a0e42d
|
|
| BLAKE2b-256 |
8df741da048d235d39df603ba6f8ca375536cd6df50f26210cd951120afb07e9
|
Provenance
The following attestation bundles were made for route_graph-0.4.0.tar.gz:
Publisher:
publish-to-pypi.yml on audius/route-graph
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
route_graph-0.4.0.tar.gz -
Subject digest:
4c9a8e0bce1623eb0b36886a7e88a745f078dcd5206dffbbca0ef6e63635c369 - Sigstore transparency entry: 1261378233
- Sigstore integration time:
-
Permalink:
audius/route-graph@7a9fab975e1d678b77713add09e505d0e097c686 -
Branch / Tag:
refs/tags/0.4.0 - Owner: https://github.com/audius
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@7a9fab975e1d678b77713add09e505d0e097c686 -
Trigger Event:
release
-
Statement type:
File details
Details for the file route_graph-0.4.0-py3-none-any.whl.
File metadata
- Download URL: route_graph-0.4.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
845ab7e307f8c0bb081a683bbba6bed724151fce1e774ea653caa02dd5f6dff1
|
|
| MD5 |
46f7df0ecfcfb34c73c11005b4c91247
|
|
| BLAKE2b-256 |
ae021d9d3ee8ac55c4ae9220a8d9fc331e86c961a83b3518b172e380d87e11a9
|
Provenance
The following attestation bundles were made for route_graph-0.4.0-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on audius/route-graph
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
route_graph-0.4.0-py3-none-any.whl -
Subject digest:
845ab7e307f8c0bb081a683bbba6bed724151fce1e774ea653caa02dd5f6dff1 - Sigstore transparency entry: 1261378470
- Sigstore integration time:
-
Permalink:
audius/route-graph@7a9fab975e1d678b77713add09e505d0e097c686 -
Branch / Tag:
refs/tags/0.4.0 - Owner: https://github.com/audius
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@7a9fab975e1d678b77713add09e505d0e097c686 -
Trigger Event:
release
-
Statement type: