pyparam.defaults
Defaults for pyparam
Holds some default values for pyparam. To change any of the CONSOLE_WIDTH, HELP_SECTION_INDENT or HELP_OPTION_WIDTH:
from pyparam import defaults
default.CONSOLE_WIDTH = 100
Attributes
CONSOLE_WIDTH
(int) — The total width for the help page.HELP_OPTION_WIDTH
(int) — The width that the option name and type take up in the help page.HELP_SECTION_INDENT
(int) — The indentation for the contents in a sectionPOSITIONAL
(str) — The name of positional parameterTYPE_NAMES
(dict(str: str)) — The type name mappings to get the type name from aliases Do not modify this variable. It is maintained bypyparam.param.regiest_param