Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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.

Release History

Release History

This version
History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pytraceroute-0.1.0.tar.gz (3.7 kB) Copy SHA256 Checksum SHA256 Source Jun 24, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting