We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

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: nis-example-1.py

import nis
import string

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