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.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
0.10.6-bp152.2.17 info | GA Release | 2020-04-17 | 15 SP2 |
|
|