# nis - pydoc - phpman

Help on module nis:

## NAME
    nis - This module contains functions for accessing NIS maps.

## MODULE REFERENCE
    <https://docs.python.org/3.10/library/nis.html>

    The following documentation is automatically generated from the Python
    source files.  It may be incomplete, incorrect or include features that
    are considered implementation detail and may vary between Python
    implementations.  When in doubt, consult the module reference at the
    location listed above.

## CLASSES
    builtins.Exception(builtins.BaseException)
        error

### class error
     |  Method resolution order:
     |      error
     |      builtins.Exception
     |      builtins.BaseException
     |      builtins.object
     |
     |  Data descriptors defined here:
     |
     |  __weakref__
     |      list of weak references to the object (if defined)
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from builtins.Exception:
     |
     |  __init__(self, /, *args, **kwargs)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  ----------------------------------------------------------------------
     |  Static methods inherited from builtins.Exception:
     |
     |  __new__(*args, **kwargs) from builtins.type
     |      Create and return a new object.  See help(type) for accurate signature.
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from builtins.BaseException:
     |
     |  __delattr__(self, name, /)
     |      Implement delattr(self, name).
     |
     |  __getattribute__(self, name, /)
     |      Return getattr(self, name).
     |
     |  __reduce__(...)
     |      Helper for pickle.
     |
     |  __repr__(self, /)
     |      Return repr(self).
     |
     |  __setattr__(self, name, value, /)
     |      Implement setattr(self, name, value).
     |
     |  __setstate__(...)
     |
     |  __str__(self, /)
     |      Return str(self).
     |
     |  with_traceback(...)
     |      Exception.with_traceback(tb) --
     |      set self.__traceback__ to tb and return self.
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from builtins.BaseException:
     |
     |  __cause__
     |      exception cause
     |
     |  __context__
     |      exception context
     |
     |  __dict__
     |
     |  __suppress_context__
     |
     |  __traceback__
     |
     |  args

## FUNCTIONS
### cat
        cat(map, domain = defaultdomain)
        Returns the entire map as a dictionary. Optionally domain can be
        specified but it defaults to the system default domain.

### get_default_domain
        get_default_domain() -> str
        Corresponds to the C library yp_get_default_domain() call, returning
        the default NIS domain.

### maps
        maps(domain = defaultdomain)
        Returns an array of all available NIS maps within a domain. If domain
        is not specified it defaults to the system default domain.

### match
        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.

## FILE
    /usr/lib/python3.10/lib-dynload/nis.cpython-310-x86_64-linux-gnu.so


