processor

processor

Arguments processing

This module contains the internal machinery that processes environment variables, configuration files and command-line parameters.

As of March 22, 2022, configpile is still pretty much influenced by argparse, and the machinery below supports a subset of argparse functionality. Later on, we may cut ties with argparse, add our own help/usage message writing, our own Sphinx extension and encourage extending those processing classes.

Types

This module uses the following types.

_Config

Type of the configuration dataclass to construct

Classes

IniProcessor

INI configuration file processor

Processor

Configuration processor

ProcessorFactory

Describes a processor in construction

State

Describes the (mutable) state of a configuration being parsed