Python login manager for nethack.