{ "info": { "author": "NetworkEng", "author_email": "https://github.com/NetworkEng", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "Intended Audience :: Telecommunications Industry", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX", "Programming Language :: Python :: 2.7", "Topic :: System :: Monitoring", "Topic :: System :: Networking", "Topic :: System :: Networking :: Monitoring", "Topic :: System :: Systems Administration", "Topic :: Utilities" ], "description": ".. image:: https://img.shields.io/pypi/dm/fping.svg\n :target: https://pypi.python.org/pypi/fping\n\n.. image:: https://img.shields.io/pypi/v/fping.svg\n :target: https://pypi.python.org/pypi/fping\n\n.. image:: https://img.shields.io/pypi/status/fping.svg\n :target: https://pypi.python.org/pypi/fping\n\n.. image:: https://img.shields.io/pypi/pyversions/fping.svg\n :target: https://pypi.python.org/pypi/fping\n\n.. image:: https://img.shields.io/pypi/l/fping.svg\n :target: https://pypi.python.org/pypi/fping\n\n.. image:: https://img.shields.io/pypi/format/fping.svg\n :target: https://pypi.python.org/pypi/fping\n\n========\nfping.py\n========\n\nPython library that uses the fping executable as its ping engine.\n\nRequirements\n============\n\n* Python 2.7 on Linux or Mac OS X (Python 3.5 compatibility is in the works,\n but not there yet.)\n* netaddr library (e.g. pip install netaddr)\n* Custom, forked build of fping (see Installation).\n\nInstallation\n============\n\nThis library requires a forked version of fping, that has an added option to\noutput the basic alive, unreachable and unresolvable hosts in CSV format.\n\n* Go to https://github.com/NetworkEng/fping and follow the installation\n instructions there to compile and install the custom version. Since you will\n be downloading the files directly from github, DO NOT skip step 1.\n Download Link: https://github.com/NetworkEng/fping/archive/develop.tar.gz\n* If you have issues running autogen.sh, please make sure that you have \n installed the automake package that is appropriate for your Linux\n distribution.\n* For Mac OS X you will need:\n\n * Xcode installed from the app store (launch it via gui at least once\n after install)\n * Xcode command line developer tools via 'xcode-select --install'\n * Accept the command line license agreement via\n 'sudo xcodebuild -license accept'\n * Install homebrew, and then use 'brew install automake'\n\nOnce the fping executable has been compiled and installed, simply use pip\nto install the fping package from pypi.python.org. e.g.::\n\n pip install fping\n\nUsage\n=====\n\nThough this is a work in progress, in its current state, this script is \nintended to be a library that is called and executed either in the (i)python \ninterpreter / shell, or imported and used by another python script.\n\n::\n\n Examples:\n >>> from fping import FastPing\n >>> fp = FastPing()\n >>> fp.ping(filename='testing')\n # cmd = ['/usr/local/sbin/fping', '-nV', '8.8.8.8',\n 'www.google.com', '206.190.36.45', 'localhost',\n 'host.cannotresolve.com']\n {'host.cannotresolve.com': 'unresolvable',\n 'pa-in-f99.1e100.net': 'alive',\n 'google-public-dns-a.google.com': 'alive',\n 'localhost': 'unreachable',\n 'ir1.fp.vip.gq1.yahoo.com': 'alive'}\n >>> fp.hosts(filename='testing', status='alive')\n 'pa-in-f99.1e100.net': 'alive',\n 'google-public-dns-a.google.com': 'alive',\n 'ir1.fp.vip.gq1.yahoo.com': 'alive'}\n >>> fp.alive\n ['pa-in-f99.1e100.net',\n 'google-public-dns-a.google.com',\n 'ir1.fp.vip.gq1.yahoo.com']\n >>> fp.dead\n ['localhost']\n >>> fp.noip\n ['host.cannotresolve.com']\n >>>", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/NetworkEng/fping.py", "keywords": "fping network discovery", "license": "GPLv3", "maintainer": null, "maintainer_email": null, "name": "fping", "package_url": "https://pypi.org/project/fping/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/fping/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/NetworkEng/fping.py" }, "release_url": "https://pypi.org/project/fping/0.0.1a2/", "requires_dist": null, "requires_python": null, "summary": "A python library to extend fping", "version": "0.0.1a2" }, "last_serial": 2150977, "releases": { "0.0.1a1": [ { "comment_text": "", "digests": { "md5": "459cfe897db6f78bfe43845ec4e789e0", "sha256": "05b76b8ac124e5891015d5ea17958f4b6513425571d42142337ed87440f9a58f" }, "downloads": -1, "filename": "fping-0.0.1a1-py2-none-any.whl", "has_sig": false, "md5_digest": "459cfe897db6f78bfe43845ec4e789e0", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7411, "upload_time": "2016-04-14T01:55:03", "url": "https://files.pythonhosted.org/packages/8a/61/6492f5f76b33514093dca7b9eb72a9115b1c20fc09842a4f185309df0463/fping-0.0.1a1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "235e9c7c38c708e1b2fb93e36b99a22c", "sha256": "b09827c3a2448a21e8a05da72cc49d1215d168240ee589346bdf2ee155d69865" }, "downloads": -1, "filename": "fping-0.0.1a1.tar.gz", "has_sig": false, "md5_digest": "235e9c7c38c708e1b2fb93e36b99a22c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6277, "upload_time": "2016-04-14T01:54:56", "url": "https://files.pythonhosted.org/packages/6a/7f/7c65aaa5c4d82eb169bfe6ceb4a29a78a7616c3e801e4d4115c4f177315a/fping-0.0.1a1.tar.gz" } ], "0.0.1a2": [ { "comment_text": "", "digests": { "md5": "cd2fa8ac543ac72d4e617d51983599a4", "sha256": "4f2a905a68df06c89f932e0b59011f1fd9614de470ffc141d9188a5be96268ef" }, "downloads": -1, "filename": "fping-0.0.1a2-py2-none-any.whl", "has_sig": false, "md5_digest": "cd2fa8ac543ac72d4e617d51983599a4", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7758, "upload_time": "2016-06-04T21:52:52", "url": "https://files.pythonhosted.org/packages/96/f9/793d36fbe45bb54dfa05953fdda3c7fac9a66e05a764a52d57584529891a/fping-0.0.1a2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "04d32c32c2ed089ca01a6c3733364789", "sha256": "7dbd3cf7f3f0cd3f2ea776bcdad7d1403112a5e746bc03bf0df8c1301ffc49cd" }, "downloads": -1, "filename": "fping-0.0.1a2.tar.gz", "has_sig": false, "md5_digest": "04d32c32c2ed089ca01a6c3733364789", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6622, "upload_time": "2016-06-04T21:52:48", "url": "https://files.pythonhosted.org/packages/66/a0/44694e3c4e20df4bcd520df87faade3d043cfb2aa8853d2fbbef3b379c2c/fping-0.0.1a2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cd2fa8ac543ac72d4e617d51983599a4", "sha256": "4f2a905a68df06c89f932e0b59011f1fd9614de470ffc141d9188a5be96268ef" }, "downloads": -1, "filename": "fping-0.0.1a2-py2-none-any.whl", "has_sig": false, "md5_digest": "cd2fa8ac543ac72d4e617d51983599a4", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7758, "upload_time": "2016-06-04T21:52:52", "url": "https://files.pythonhosted.org/packages/96/f9/793d36fbe45bb54dfa05953fdda3c7fac9a66e05a764a52d57584529891a/fping-0.0.1a2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "04d32c32c2ed089ca01a6c3733364789", "sha256": "7dbd3cf7f3f0cd3f2ea776bcdad7d1403112a5e746bc03bf0df8c1301ffc49cd" }, "downloads": -1, "filename": "fping-0.0.1a2.tar.gz", "has_sig": false, "md5_digest": "04d32c32c2ed089ca01a6c3733364789", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6622, "upload_time": "2016-06-04T21:52:48", "url": "https://files.pythonhosted.org/packages/66/a0/44694e3c4e20df4bcd520df87faade3d043cfb2aa8853d2fbbef3b379c2c/fping-0.0.1a2.tar.gz" } ] }