The nis module

(Unix only, Optional). This module provides an interface to the NIS (yellow pages) services. It can be used to fetch values from a NIS database, if available.

Example: Using the nis module
# File:

import nis
import string

print string.split(nis.match("bacon", "hosts.byname"))
$ python
{'bacon.spam.egg': 'bacon.spam.egg'}
['', 'bacon.spam.egg', 'bacon', 'spam-010']

A Django site. rendered by a django application. hosted by webfaction.