:tocdepth: 3 :py:mod:`gws.lib.inifile` ========================= .. py:module:: gws.lib.inifile .. autoapi-nested-parse:: Tools to deal with ini config files. **Source code:** :source:`gws.lib.inifile` Package Contents ---------------- .. py:function:: from_paths(*paths: str) -> dict Merges the key-value pairs of `.ini` files into a dictionary. :param paths: Paths to `.ini` files. :returns: Dictionary containing all the key-value pairs with the sections as prefixes. .. py:function:: to_string(d: dict) -> str Converts key-value pairs in a dictionary to a string grouped in sections. :param d: Key-value pairs. :returns: String formatted like `.ini` files.