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 python library to extend fping

Project Description

Python library that uses the fping executable as its ping engine.


  • Python 2.7 on Linux or Mac OS X (Python 3.5 compatibility is in the works, but not there yet.)
  • netaddr library (e.g. pip install netaddr)
  • Custom, forked build of fping (see Installation).


This library requires a forked version of fping, that has an added option to output the basic alive, unreachable and unresolvable hosts in CSV format.

  • Go to and follow the installation instructions there to compile and install the custom version. Since you will be downloading the files directly from github, DO NOT skip step 1. Download Link:

  • If you have issues running, please make sure that you have installed the automake package that is appropriate for your Linux distribution.

  • For Mac OS X you will need:

    • Xcode installed from the app store (launch it via gui at least once after install)
    • Xcode command line developer tools via ‘xcode-select –install’
    • Accept the command line license agreement via ‘sudo xcodebuild -license accept’
    • Install homebrew, and then use ‘brew install automake’

Once the fping executable has been compiled and installed, simply use pip to install the fping package from e.g.:

pip install fping


Though this is a work in progress, in its current state, this script is intended to be a library that is called and executed either in the (i)python interpreter / shell, or imported and used by another python script.

    >>> from fping import FastPing
    >>> fp = FastPing()
    # cmd =  ['/usr/local/sbin/fping', '-nV', '',
              '', '', 'localhost',
    {'': 'unresolvable',
    '': 'alive',
    '': 'alive',
    'localhost': 'unreachable',
    '': 'alive'}
    >>> fp.hosts(filename='testing', status='alive')
    '': 'alive',
    '': 'alive',
    '': 'alive'}
    >>> fp.alive
    >>> fp.dead
    >>> fp.noip
Release History

Release History

This version
History Node


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
fping-0.0.1a2-py2-none-any.whl (7.8 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Jun 4, 2016
fping-0.0.1a2.tar.gz (6.6 kB) Copy SHA256 Checksum SHA256 Source Jun 4, 2016

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