useridresolver package

Module contents

The useridresolver is responsible for getting userids for loginnames and vice versa.

This base module contains the base class UserIdResolver.UserIdResolver and also the community class PasswdIdResolver.IdResolver, that is inherited from the base class.

class useridresolver.ClassRegistry[source]

Bases: dict

A simple class registry, that provides a convenient decorator.


>>> cls_reg = ClassRegistry()
>>> cls_reg.class_entry(registry_key='foo_cls')
>>> class Foo (object):
>>>    pass

decorator factory to insert classes into this registry


iterates through the modules in this package and import every single one of them