classbasedmodule (pypi): Decorator overwriting sys.modules with a class instance as the module.
Keywords: classbasedmodule