Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

A simple Python traceroute(8) implementation

Project description

pytraceroute - A simple traceroute(8) implementation in Python

pytraceroute is a simple traceroute(8) implementation written in Python.

Its purpose is mainly educational, rather than something feature-rich as is traceroute(8) for example.


  • Python 2.7.x or 3.x
  • docopt


Clone the Git repository and install:

$ git clone
$ cd pytraceroute && python install

Or via pip:

$ pip install pytraceroute


pytraceroute requires root permissions due to the use of raw (socket.SOCK_RAW) sockets.

Example usage:

$ sudo py-traceroute


pytraceroute is hosted on Github. Please contribute by reporting issues, suggesting features or by sending patches using pull requests.


Probably. If you experience a bug issue, please report it to the pytraceroute issue tracker on Github.

Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pytraceroute-0.1.0.tar.gz (3.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page