import importlib


def _class_by_name( module, className ):
	"""
	Helper function to extract a class from module
	"""
	# Import module
	mod = importlib.import_module(module)
	# Get class
	return getattr(mod, className)