Portable network interface information.

Edit Package python-netifaces

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 2000 and Linux. 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.

Refresh
Refresh
Source Files (show unmerged sources)
Filename Size Changed
netifaces-0.11.0.tar.gz 0000030106 29.4 KB
python-netifaces.changes 0000004718 4.61 KB
python-netifaces.spec 0000002359 2.3 KB
test.py 0000001468 1.43 KB
Latest Revision
Ruediger Oertel's avatar Ruediger Oertel (oertel) committed (revision 4)
- update to 0.11.0:
  * Fixing netmask calculation for IPv6 
  * segfault when trying to access netifaces.ifaddresses
  * Interpret missing gateway priority, handle some out of order metrics

- version update to 0.10.9
  * Fixed a bug that in certain circumstances could lead to an infinite
    loop in netifaces.gateways() (thanks asomers).
  * Fixed a memory management bug in an error path (thanks NicoPy).
- created a small test
Comments 0
openSUSE Build Service is sponsored by