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.1.tar.gz (4.8 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.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trace_that_route-0.0.1.tar.gz
  • Upload date:
  • Size: 4.8 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.1.tar.gz
Algorithm Hash digest
SHA256 54603b82adc454d5fed86b9d4dffea7dd81efb8ef0f681e122bda73325f1f691
MD5 f47ea27f3b1d9f5e57303544b17fd47c
BLAKE2b-256 3073bd18638ffcbdc84157c92f8a536bea2493d7e09d87f59a61de0db82d5744

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trace_that_route-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bd297a20dd7adc3e1befd4460da63c363e30adeada405b4ab658bc7041f31e5d
MD5 89c346257e48e155ce4a0d101212d6d4
BLAKE2b-256 2a90e7a3fa66cd322231794a7ef528924fad6f5503b21e4ba401bac5b12c21b6

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