Skip to main content

Simple python script adding a wrapper around the traceroute command.

Project description

Trace that route!

Simple python script adding a wrapper around the traceroute command.

Installation

pip install trace-that-route

Usage

result = traceroute(target = "1.2.3.4", queries = 3, max_steps = 30, protocol = Protocol.TCP)
print(f"It took {len(result.hops)} steps to reach the target:")
for hop in result.hops:
    for router in hop.routers:
        print(f"{hop.hop_number}: {router.ip} ({router.hostname}) - {router.rtts} ms")

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

trace_that_route-0.0.2.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trace_that_route-0.0.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file trace_that_route-0.0.2.tar.gz.

File metadata

  • Download URL: trace_that_route-0.0.2.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for trace_that_route-0.0.2.tar.gz
Algorithm Hash digest
SHA256 70e8de01a0cda34bb25f9bd8fa492beab47e2aa8196adc022eb1a27b10b884a9
MD5 c22353a21f8a7889ac326e99efce3946
BLAKE2b-256 d57ba6771727c127aa07d9b204d8e9f967be69db5cd29a23f8f2a604adc2790c

See more details on using hashes here.

File details

Details for the file trace_that_route-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for trace_that_route-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2237bbd99b10562b8ea2cbec5a7176d5d4b79fe6e56cc3f3626fc0b11e909ca4
MD5 710d318990aa230d8cfa44c325f0bd3b
BLAKE2b-256 8a3ce42588fe8787540ac1a568e3e88279342574edf9bf9c32f7971fe0249755

See more details on using hashes here.

Supported by

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