Skip to main content

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.

Requirements

You will need graphviz to be installed. If graphviz is not available on your system the graph can 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 png.

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

route_graph-0.2.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

route_graph-0.2.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file route_graph-0.2.2.tar.gz.

File metadata

  • Download URL: route_graph-0.2.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for route_graph-0.2.2.tar.gz
Algorithm Hash digest
SHA256 f5d213faad7fa973f62f66b1a08dc90dd1c375ba31eb49eab136ca83c1a57094
MD5 818f6424fb87cffeb43a76bb6913d9ef
BLAKE2b-256 05fd970fb9f49d4d1d5e4cd9089d55734a8416085a194270eae257a3cafc61d6

See more details on using hashes here.

File details

Details for the file route_graph-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: route_graph-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for route_graph-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d0ac7782db22a5877d334f93b380cf8acf99c584dfc970180b1626c9d2fe2e9a
MD5 ca74d720056c9c7e27129beb0edbc870
BLAKE2b-256 36b2f1cead30aa6cb0cbb69509cea8b110c4a0e4b64d3bbd34efbffa7fcdb80d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page