Skip to main content

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

Download files

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

Files for pytraceroute, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pytraceroute-0.1.0.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page