pygalgen.generator.common package

Subpackage containing common functions, constants and utilities that can be used to build custom plugins or extend the default one

Subpackages

Submodules

pygalgen.generator.common.constants module

Module containing common generator constants

pygalgen.generator.common.utils module

Module containing utilities used throughout PyGalGen generator

pygalgen.generator.common.utils.parse_argument_comma_sep_list(argument: str) Tuple[source]

Parses command line arguments containing comma delimited data. The data can be further divided by colon (:)

Parameters

argumentstr

comma delimited list of items

Yields

Tuple of sub-elements that are delimited by :, from comma separated list

Examples

Input: ‘person:name,person:name’ Result of single iteration: (person, name)

pygalgen.generator.common.xml_utils module