Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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

This version
History Node


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 Jun 24, 2015

Supported by

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