The ini module implements the basic INI-like format used by the XDG Desktop Entry Specification as described in (https://specifications.freedesktop.org/desktop-entry-spec/latest). Since other specifications make use of the basic desktop entry format (but with different group names, entry requirements, etc.), this module only implements the generalized format. This module will attempt to accept malformed files for the purposes of retaining their underlying representation, and being able to reproduce that representation when writing updated information to the files.