netifaces provides a (hopefully portable-ish) way for Python programmers to
get access to a list of the network interfaces on the local machine, and to
obtain the addresses of those network interfaces.
The package has been tested on Mac OS X, Windows XP, Windows Vista, Linux and
Solaris. On Windows, it is currently not able to retrieve IPv6 addresses,
owing to shortcomings of the Windows API.
It should work on other UNIX-like systems provided they implement either
getifaddrs() or support the SIOCGIFxxx socket options, although the data
provided by the socket options is normally less complete.
MIT
cloud_download
Downloads
To download packages, you need to log in and have a valid subscription.
Please select a product to see the available package versions:
To access the subscriptions purchased by your organization, to open support cases, and to download the latest software patches, you need to be a member of your organization's account.
To join the account, you may either:
Ask your organization's administrator to add you to the account. See our documentation for details.
If you know one of your organization's registration codes, enter it below.