Skip to main content

A CLI tool for Route Intelligence, traceroute parsing, and AS/Geo lookups.

Project description

Brave Route Intelligence

Brave Route Intelligence (package brave-trace) is a professional Python CLI application that performs traceroutes, parses the hop latencies, performs reverse DNS/Geo/ASN lookups, classifies hops, and renders results in clean, colorized terminal tables.

Features

  • Traceroute Parsing: Converts raw traceroute results to structured hop information cross-platform (Windows & Unix-like).
  • Reverse DNS Lookup: Resolves hostname entries.
  • AS Lookup: Fetches autonomous system information using RDAP lookup.
  • Geo-location Identification: Queries geography and coordinates from standard APIs.
  • Route Classification: Identifies hop roles such as gateways, Google/AWS/Azure backbone, and ISP routes.
  • Beautiful Output: Renders output inside dynamic Rich tables.

Installation

Install the package in editable mode:

pip install -e .

This registers the CLI script command brave-trace in your environment.

Usage

Run the trace command followed by the IP address or hostname target:

brave-trace trace 8.8.8.8

Or target a domain name:

brave-trace trace google.com

Alternatively, you can run it as a package module directly with Python:

python -m brave_trace trace 1.1.1.1

Programmatic Example

You can import brave_trace to trigger scans from within your own Python programs:

from brave_trace.core.engine import run_trace

run_trace("8.8.8.8")

See examples/sample_trace.py for details.

Running Tests

Verify the codebase functionality using the standard library's unittest framework:

python -m unittest discover tests

Contributing

See CONTRIBUTING.md for local development workflows.

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

brave_trace-0.1.0.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

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

brave_trace-0.1.0-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file brave_trace-0.1.0.tar.gz.

File metadata

  • Download URL: brave_trace-0.1.0.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.4

File hashes

Hashes for brave_trace-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5dde9017bd13b3ec5571a7116ab036debc934ebeffec924640c89c1cb4413fa6
MD5 d7ead871f5101799fa0d4c91dfca61df
BLAKE2b-256 5841c7bbf8cbcb41348e00a10c1c5f5a834383c8cded319f06eef21c657b183e

See more details on using hashes here.

File details

Details for the file brave_trace-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: brave_trace-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.4

File hashes

Hashes for brave_trace-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7f000b4ac8884b36720a9830fae46b65fd7663400a804d7999ca3f40cac06d1a
MD5 e28beb207864c7e82d0bad30ed42af72
BLAKE2b-256 c5c27020ad9df426c15376a7b5ad66628d327a0c4a733e0b6ee151580cc31dec

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