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.
this package contains debug symbols of python-netifaces.