Orbits
1
|
Public Member Functions | |
def | __init__ |
def | resolve |
def | ext_convert |
def | cfg_convert |
def | convert |
def | configure_custom |
def | as_tuple |
Public Attributes | |
config | |
Static Public Attributes | |
tuple | CONVERT_PATTERN = re.compile(r'^(?P<prefix>[a-z]+)://(?P<suffix>.*)$') |
tuple | WORD_PATTERN = re.compile(r'^\s*(\w+)\s*') |
tuple | DOT_PATTERN = re.compile(r'^\.\s*(\w+)\s*') |
tuple | INDEX_PATTERN = re.compile(r'^\[\s*(\w+)\s*\]\s*') |
tuple | DIGIT_PATTERN = re.compile(r'^\d+$') |
dictionary | value_converters |
tuple | importer = staticmethod(__import__) |
The configurator base class which defines some useful defaults.
def pip._vendor.distlib.compat.BaseConfigurator.__init__ | ( | self, | |
config | |||
) |
def pip._vendor.distlib.compat.BaseConfigurator.as_tuple | ( | self, | |
value | |||
) |
Utility function which converts lists to tuples.
def pip._vendor.distlib.compat.BaseConfigurator.cfg_convert | ( | self, | |
value | |||
) |
Default converter for the cfg:// protocol.
def pip._vendor.distlib.compat.BaseConfigurator.configure_custom | ( | self, | |
config | |||
) |
Configure an object with a user-supplied factory.
def pip._vendor.distlib.compat.BaseConfigurator.convert | ( | self, | |
value | |||
) |
Convert values to an appropriate type. dicts, lists and tuples are replaced by their converting alternatives. Strings are checked to see if they have a conversion format and are converted if they do.
def pip._vendor.distlib.compat.BaseConfigurator.ext_convert | ( | self, | |
value | |||
) |
Default converter for the ext:// protocol.
def pip._vendor.distlib.compat.BaseConfigurator.resolve | ( | self, | |
s | |||
) |
Resolve strings to objects using standard import and attribute syntax.
pip._vendor.distlib.compat.BaseConfigurator.config |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Copyright 2014 Google Inc. All rights reserved.