@classmethod<EOL><INDENT>def from_dict(<EOL>cls,<EOL>dictionary,<EOL>root_section="<STR_LIT:root>",<EOL>delimiter=DEFAULT_DELIMITER,<EOL>empty_sections=False,<EOL>):<DEDENT>
parser = cls()<EOL>parser.add_section(root_section)<EOL>return cls._build_parser(<EOL>dictionary,<EOL>parser,<EOL>root_section,<EOL>delimiter=delimiter,<EOL>empty_sections=empty_sections,<EOL>)<EOL>
Create an instance of ``INIParser`` from a given dictionary.

        :param dict dictionary: The dictionary to create an instance from
        :param str root_section: The root key of the ini content, defaults to "root",
            optional
        :param str delimiter: The delimiter character to use for nested dictionaries,
            defaults to ":", optional
        :param bool empty_sections: Flag to allow representation of empty sections to
            exist, defaults to False, optional
        :return: The new ``INIParser`` instance
        :rtype: INIParser