pytoolconfig.sources.IniConfig

class pytoolconfig.sources.IniConfig(working_directory, filename, base_table, description=None)

Source for INI configuration files via configparser.

__init__(working_directory, filename, base_table, description=None)

Initialize the Ini Configuration.

Parameters:
  • working_directory (Path) – the working directory to search.

  • filename (str) – the filename to search for.

  • base_table (str) – The table to search for. The file will only be used if this is present. The base_table will not be included in the parsed output.

  • description (str | None) – The description used in documentation.

Methods

__init__(working_directory, filename, base_table)

Initialize the Ini Configuration.

parse()

Parse the INI file.

Attributes

name

description