    def _getgrnam(name):
        """Wrapper function to protect against `grp` not being available
        on Windows
        """
        import grp

        return grp.getgrnam(name)
Wrapper function to protect against `grp` not being available
on Windows
jupyterhub/auth.py