facade_factory
Factory class for generating MD engine facades
- class MDMC.MD.engine_facades.facade_factory.MDEngineFacadeFactory[source]
Provides a factory for creating facades to
MDEngine. Any facade within theengine_facadesfolder can be created with a str of the classname, as long as it is a subclass ofMDEngine.- static create_facade(module_name: str) MDEngine[source]
- Parameters:
module_name (str) – A module name in
engine_facades. Aliases to these module names are also valid.- Returns:
The specified
MDEngine, as determined by themodule_name- Return type:
MDEngine
- static import_from_alias(alias: str) ModuleType[source]
Converts an
aliasinto a module name