Historical and Removed Modules

nis

Removed from the standard library in Python 3.13; historical example targets Python 3.12. Unix-only; availability depended on NIS libraries. Exposed Unix Network Information Service lookups. NIS is legacy directory infrastructure; migrate to the organization’s supported identity service, using approved clients and authentication. Local account interfaces do not replace network directory lookups. No user or domain data is queried.

Formal Syntax & Structure

python syntaxpython
import nis  # Historical only: removed in Python 3.13

Return Value

module (historical)

Historical module namespace, not a supported standard-library import on the Python 3.13 baseline.

Working Example

Example Snippetpython
# Historical example: Python 3.12; not executed.import nisprint(callable(nis.match))
Python Reference