@classmethod
def name_from_file(cls, file_path):
    """Retrieves plugin name from plugin archive.

        :param str plugin_path: path to the plugin
        :returns: plugin name
        """
    return cls._get_metadata(file_path)['name']
