{ "info": { "author": "Stefan C. Mueller", "author_email": "scm@smurn.org", "bugtrack_url": null, "classifiers": [], "description": "\n\nifaddr - Enumerate IP addresses on the local network adapters\n=============================================================\n\n`ifaddr` is a small Python library that allows you to find all the\nIP addresses of the computer. It is tested on **Linux**, **OS X**, and\n**Windows**. Other BSD derivatives like **OpenBSD**, **FreeBSD**, and\n**NetBSD** should work too, but I haven't personally tested those.\n\nThis library is open source and released under the MIT License.\n\nYou can install it with `pip install ifaddr`. It doesn't need to\ncompile anything, so there shouldn't be any surprises. Even on Windows.\n\n----------------------\nLet's get going!\n----------------------\n\n.. code-block:: python\n\n import ifaddr\n \n adapters = ifaddr.get_adapters()\n \n for adapter in adapters:\n print \"IPs of network adapter \" + adapter.nice_name\n for ip in adapter.ips:\n print \" %s/%s\" % (ip.ip, ip.network_prefix)\n \nThis will print:\n\n.. code-block:: python\n\n\tIPs of network adapter H5321 gw Mobile Broadband Driver\n\t IP ('fe80::9:ebdf:30ab:39a3', 0L, 17L)/64\n\t IP 169.254.57.163/16\n\tIPs of network adapter Intel(R) Centrino(R) Advanced-N 6205\n\t IP ('fe80::481f:3c9d:c3f6:93f8', 0L, 12L)/64\n\t IP 192.168.0.51/24\n\tIPs of network adapter Intel(R) 82579LM Gigabit Network Connection\n\t IP ('fe80::85cd:e07e:4f7a:6aa6', 0L, 11L)/64\n\t IP 192.168.0.53/24\n\tIPs of network adapter Software Loopback Interface 1\n\t IP ('::1', 0L, 0L)/128\n\t IP 127.0.0.1/8\n\t \nYou get both IPv4 and IPv6 addresses. The later complete with\nflowinfo and scope_id.\n\n-------------\nDocumentation \n-------------\n\nThe complete documentation (there isn't much to document) can be found here:\n`ifaddr Documentation `_.\n\n-----------------------------------\nBug Reports and other contributions\n-----------------------------------\n\nThis project is hosted here `ifaddr github page `_.\n \n------------\nAlternatives\n------------\n\nAlastair Houghton develops `netifaces `_ \nwhich can do everything this library can, and more. The only drawback is that it needs\nto be compiled, which can make the installation difficult.\n\n\n\n", "description_content_type": "", "docs_url": "https://pythonhosted.org/ifaddr/", "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pydron/ifaddr", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "ifaddr", "package_url": "https://pypi.org/project/ifaddr/", "platform": "", "project_url": "https://pypi.org/project/ifaddr/", "project_urls": { "Homepage": "https://github.com/pydron/ifaddr" }, "release_url": "https://pypi.org/project/ifaddr/0.1.6/", "requires_dist": null, "requires_python": "", "summary": "Enumerates all IP addresses on all network adapters of the system.", "version": "0.1.6" }, "last_serial": 4578023, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "00f8371cc120f172dad02ee87d64812c", "sha256": "809428ffbf4cd03c12048d9602ebf102dcd44a378271334b4f0eb51a5533d81f" }, "downloads": -1, "filename": "ifaddr-0.1.0.zip", "has_sig": false, "md5_digest": "00f8371cc120f172dad02ee87d64812c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12339, "upload_time": "2014-07-02T15:23:38", "url": "https://files.pythonhosted.org/packages/64/a1/8c15aa2182f0394ba771cf586251ba961997cb87a2b1fb6626d84f57cc4b/ifaddr-0.1.0.zip" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "be0740f1a9424ed869fceebc367dae80", "sha256": "bf9768bdb87d489179410f4af8d296ab4509db62f9bcff1212ba3585cfe7e357" }, "downloads": -1, "filename": "ifaddr-0.1.1.zip", "has_sig": false, "md5_digest": "be0740f1a9424ed869fceebc367dae80", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12505, "upload_time": "2014-07-02T15:52:21", "url": "https://files.pythonhosted.org/packages/df/f7/b2b79bf8ad7d133b713d74df43662c5ae301156a3e17f4bcaa5a3cae40be/ifaddr-0.1.1.zip" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "8a856bddd8557a4d0bf6abe2cea9b68e", "sha256": "f03666ad83bfa9c3dca58fc37124fef8f2b21d023bfb5829bfc6033ffce73c87" }, "downloads": -1, "filename": "ifaddr-0.1.2.zip", "has_sig": false, "md5_digest": "8a856bddd8557a4d0bf6abe2cea9b68e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13070, "upload_time": "2015-04-19T09:58:00", "url": "https://files.pythonhosted.org/packages/59/d6/a676421a30935f6918484f6b8acea59982a8d8b529693b7d722c8a1c41f8/ifaddr-0.1.2.zip" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "f72637f6ba623e9d4d16146bc2e53740", "sha256": "41c80f5a773613deefa5e4a741561c86a9eb92a3e00895908cfb976b9cb3097f" }, "downloads": -1, "filename": "ifaddr-0.1.3.zip", "has_sig": false, "md5_digest": "f72637f6ba623e9d4d16146bc2e53740", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13119, "upload_time": "2016-03-01T11:57:58", "url": "https://files.pythonhosted.org/packages/38/5d/6e88f13857f2cef4f8f96ba42dae6e4e371ee41847ab6b5e71bebe2a0624/ifaddr-0.1.3.zip" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "37bf17655723fc085156bf7c595abd04", "sha256": "cf2a8fbb578da2844d999a0a453825f660ed2d3fc47dcffc5f673dd8de4f0f8b" }, "downloads": -1, "filename": "ifaddr-0.1.4.zip", "has_sig": false, "md5_digest": "37bf17655723fc085156bf7c595abd04", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13222, "upload_time": "2017-09-02T06:21:13", "url": "https://files.pythonhosted.org/packages/12/40/97ef30db32e0c798fc557af403ea263dbeae8d334571603f02e19f4021a0/ifaddr-0.1.4.zip" } ], "0.1.4-dev": [ { "comment_text": "", "digests": { "md5": "39ff4234cf24624681d5010bd412ea45", "sha256": "0a41b7e2e28e88a3a6ed1616f2c2ccec2d29e7db14643a68e785db57fd257139" }, "downloads": -1, "filename": "ifaddr-0.1.4-dev.zip", "has_sig": false, "md5_digest": "39ff4234cf24624681d5010bd412ea45", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13351, "upload_time": "2017-09-02T06:17:07", "url": "https://files.pythonhosted.org/packages/97/9b/29805b06567adefae3c8baabdcd1ccde5019dbf9168621a30e8ff5af3216/ifaddr-0.1.4-dev.zip" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "5c30d0e17444c714b084182ed2122abd", "sha256": "2469b556bba4358754da55150ff522f9db1581dae15fb3f17e3cb69d35e84232" }, "downloads": -1, "filename": "ifaddr-0.1.5.tar.gz", "has_sig": false, "md5_digest": "5c30d0e17444c714b084182ed2122abd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6439, "upload_time": "2018-11-28T02:26:27", "url": "https://files.pythonhosted.org/packages/7f/bd/08d26d3a31b6cd0e1a771f3d322bba3f90b118ae7420254f717e8b3b95b1/ifaddr-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "cc1b7f0a587ef38491f07e50bf91d82e", "sha256": "c19c64882a7ad51a394451dabcbbed72e98b5625ec1e79789924d5ea3e3ecb93" }, "downloads": -1, "filename": "ifaddr-0.1.6.tar.gz", "has_sig": false, "md5_digest": "cc1b7f0a587ef38491f07e50bf91d82e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6526, "upload_time": "2018-12-09T19:58:13", "url": "https://files.pythonhosted.org/packages/9f/54/d92bda685093ebc70e2057abfa83ef1b3fb0ae2b6357262a3e19dfe96bb8/ifaddr-0.1.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cc1b7f0a587ef38491f07e50bf91d82e", "sha256": "c19c64882a7ad51a394451dabcbbed72e98b5625ec1e79789924d5ea3e3ecb93" }, "downloads": -1, "filename": "ifaddr-0.1.6.tar.gz", "has_sig": false, "md5_digest": "cc1b7f0a587ef38491f07e50bf91d82e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6526, "upload_time": "2018-12-09T19:58:13", "url": "https://files.pythonhosted.org/packages/9f/54/d92bda685093ebc70e2057abfa83ef1b3fb0ae2b6357262a3e19dfe96bb8/ifaddr-0.1.6.tar.gz" } ] }