nis.match()

nis.match(key, map, domain = defaultdomain)

Corresponds to the C library yp_match() call, returning the value of key in the given map. Optionally domain can be specified but it defaults to the system default domain.