def map_module_names(key: str) -> str:
    """ Map typical module shortcuts to module names.

    :param key: module shortcut.
    :return: longname of module.
    """
    mapping = {
        'cv2': 'openCV',
        'jcinfo': 'jupyter_commons.info',
        'jcout': 'jupyter_commons.output',
        'xsysutils': 'xutilities.sysutils',
        'np': 'numpy',
        'nx': 'networkX',
        'pd': 'pandas',
        'plt': 'matplotlib.pyplot',
    }
    if key in mapping.keys():
        name = f'{mapping[key]}({key})'
    else:
        name = key
    return name