def name(self, pretty=False):
name = self.os_release_attr('<STR_LIT:name>')or self.lsb_release_attr('<STR_LIT>')or self.distro_release_attr('<STR_LIT:name>')or self.uname_attr('<STR_LIT:name>')<EOL>if pretty:<EOL><INDENT>name = self.os_release_attr('<STR_LIT>')or self.lsb_release_attr('<STR_LIT:description>')<EOL>if not name:<EOL><INDENT>name = self.distro_release_attr('<STR_LIT:name>')or self.uname_attr('<STR_LIT:name>')<EOL>version = self.version(pretty=True)<EOL>if version:<EOL><INDENT>name = name + '<STR_LIT:U+0020>' + version<EOL><DEDENT><DEDENT><DEDENT>return name or '<STR_LIT>'<EOL>
Return the name of the OS distribution, as a string.

For details, see :func:`distro.name`.