Python module for retrieving network information