Let us walk on the 3-isogeny graph
|
Data Structures | |
class | Configuration |
Functions | |
str | _normalize_name (str name) |
List[str] | _disassemble_key (str name) |
Dict[Kind, List[str]] | get_configuration_files () |
Variables | |
RawConfigParser = configparser.RawConfigParser | |
Kind = NewType("Kind", str) | |
str | CONFIG_BASENAME = "pip.ini" if WINDOWS else "pip.conf" |
str | ENV_NAMES_IGNORED = "version", "help" |
kinds | |
OVERRIDE_ORDER = kinds.GLOBAL, kinds.USER, kinds.SITE, kinds.ENV, kinds.ENV_VAR | |
VALID_LOAD_ONLY = kinds.USER, kinds.GLOBAL, kinds.SITE | |
logger = getLogger(__name__) | |
Configuration management setup Some terminology: - name As written in config files. - value Value associated with a name - key Name combined with it's section (section.name) - variant A single word describing where the configuration key-value pair came from
|
protected |
Definition at line 58 of file configuration.py.
References i.
Referenced by Configuration.get_value(), Configuration.set_value(), and Configuration.unset_value().
|
protected |
Make a name consistent regardless of source (environment or file)
Definition at line 50 of file configuration.py.
References i.
Referenced by Configuration._normalized_keys(), Configuration.get_value(), Configuration.set_value(), and Configuration.unset_value().
Dict[Kind, List[str]] get_configuration_files | ( | ) |
Definition at line 68 of file configuration.py.
References i.
Referenced by Configuration.iter_config_files().
Definition at line 32 of file configuration.py.
str ENV_NAMES_IGNORED = "version", "help" |
Definition at line 33 of file configuration.py.
Kind = NewType("Kind", str) |
Definition at line 30 of file configuration.py.
kinds |
Definition at line 36 of file configuration.py.
logger = getLogger(__name__) |
Definition at line 46 of file configuration.py.
OVERRIDE_ORDER = kinds.GLOBAL, kinds.USER, kinds.SITE, kinds.ENV, kinds.ENV_VAR |
Definition at line 43 of file configuration.py.
RawConfigParser = configparser.RawConfigParser |
Definition at line 29 of file configuration.py.
VALID_LOAD_ONLY = kinds.USER, kinds.GLOBAL, kinds.SITE |
Definition at line 44 of file configuration.py.