def load(cls, path):
        """
        load the keys from a path
        
        :param path: the filename (path) in which we find the keys
        :return: 
        """
        auth = cls()
        with open(path) as fd:
            for pubkey in itertools.imap(str.strip, fd):
                # skip empty lines
                if not pubkey:
                    continue
                auth.add(pubkey)
        return auth
def load ( cls , path ) : auth = cls ( ) with open ( path ) as fd : for pubkey in itertools . imap ( str . strip , fd ) : if not pubkey : continue auth . add ( pubkey ) return auth
load the keys from a path
        
        :param path: the filename (path) in which we find the keys
        :return: