Module Expr Str Import alias Import alias Import alias Import alias Import alias ImportFrom alias FunctionDef arguments args NameParam defaults body Return IfExp CompareIs NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return IfExp CompareIs NameLoad NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad NameLoad decorator_list Assign NameStore ListLoad Str Str Str Str Str Str FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return NameLoad For NameStore NameLoad body TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return NameLoad Return Call AttributeLoad Call NameLoad NameLoad attr decorator_list Assign NameStore ListLoad Str Str Str Str Str FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return NameLoad For NameStore NameLoad body TryExcept body Return Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Slice Num Num handlers ExceptHandler type NameLoad body Pass Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Str Raise Call NameLoad BinOpMod NameLoad TupleLoad Call NameLoad NameLoad NameLoad TryExcept body Return Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Return Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr NameLoad name NameStore body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Return ListComp Call NameLoad NameLoad comprehension NameStore Call NameLoad NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Return Call NameLoad GeneratorExp Call NameLoad NameLoad comprehension NameStore Call NameLoad NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list
N/A N/A 
Validate a configuration value by converting it to a specific type.

These functions are used by :mod:`staticconf.readers` and
:mod:`staticconf.schema` to coerce config values to a type.
 N/A datetime N/A logging N/A re N/A time N/A six staticconf.errors ValidationError validate_string N/A N/A value N/A N/A N/A N/A N/A value None None N/A N/A six text_type value N/A validate_bool N/A N/A value N/A N/A N/A N/A N/A value None None N/A bool value N/A validate_numeric N/A N/A type_func value N/A N/A N/A N/A N/A N/A type_func value N/A N/A N/A ValueError N/A N/A N/A ValidationError N/A Invalid %s: %s N/A N/A type_func __name__ value N/A validate_int N/A N/A value N/A N/A N/A N/A validate_numeric int value N/A validate_float N/A N/A value N/A N/A N/A N/A validate_numeric float value N/A N/A date_formats N/A %Y-%m-%d %H:%M:%S %Y-%m-%d %I:%M:%S %p %Y-%m-%d %y-%m-%d %m/%d/%y %m/%d/%Y validate_datetime N/A N/A value N/A N/A N/A N/A isinstance value N/A datetime datetime N/A N/A value N/A format_ date_formats N/A N/A N/A N/A N/A N/A N/A datetime datetime strptime value format_ N/A N/A N/A ValueError N/A N/A N/A N/A ValidationError N/A Invalid date format: %s value N/A validate_date N/A N/A value N/A N/A N/A N/A isinstance value N/A datetime date N/A N/A value N/A N/A N/A N/A validate_datetime value date N/A N/A time_formats N/A %I %p %H:%M %I:%M %p %H:%M:%S %I:%M:%S %p validate_time N/A N/A value N/A N/A N/A N/A isinstance value N/A datetime time N/A N/A value N/A format_ time_formats N/A N/A N/A N/A N/A N/A datetime time N/A N/A N/A time strptime value format_ N/A 3 6 N/A N/A N/A ValueError N/A N/A N/A N/A ValidationError N/A Invalid time format: %s value N/A _validate_iterable N/A N/A iterable_type value N/A N/A N/A Convert the iterable to iterable_type, or raise a Configuration
    exception.
     N/A N/A isinstance value N/A six string_types N/A N/A msg Invalid iterable of type(%s): %s N/A N/A ValidationError N/A msg N/A N/A tuple value value N/A N/A N/A N/A iterable_type value N/A N/A N/A TypeError N/A N/A N/A ValidationError N/A Invalid iterable: %s value N/A validate_list N/A N/A value N/A N/A N/A N/A _validate_iterable list value N/A validate_set N/A N/A value N/A N/A N/A N/A _validate_iterable set value N/A validate_tuple N/A N/A value N/A N/A N/A N/A _validate_iterable tuple value N/A validate_regex N/A N/A value N/A N/A N/A N/A N/A N/A N/A re compile value N/A N/A N/A N/A N/A re error TypeError N/A e N/A N/A N/A ValidationError N/A Invalid regex: %s, %s N/A e value N/A build_list_type_validator N/A N/A item_validator N/A N/A N/A Return a function which validates that the value is a list of items
    which are validated using item_validator.
     validate_list_of_type N/A N/A value N/A N/A N/A N/A N/A item_validator item N/A item N/A validate_list value N/A N/A validate_list_of_type N/A build_map_type_validator N/A N/A item_validator N/A N/A N/A Return a function which validates that the value is a mapping of
    items. The function should return pairs of items that will be
    passed to the `dict` constructor.
     validate_mapping N/A N/A value N/A N/A N/A N/A dict N/A N/A item_validator item N/A item N/A validate_list value N/A N/A validate_mapping N/A validate_log_level N/A N/A value N/A N/A N/A Validate a log level from a string value. Returns a constant from
    the :mod:`logging` module.
     N/A N/A N/A N/A getattr logging value N/A N/A N/A AttributeError N/A N/A N/A ValidationError N/A Unknown log level: %s value N/A validate_any N/A N/A value N/A N/A N/A value N/A N/A validators N/A bool date datetime float int list set string time tuple regex log_level validate_any validate_bool validate_date validate_datetime validate_float validate_int validate_list validate_set validate_string validate_time validate_tuple validate_regex validate_log_level get_validators N/A N/A N/A N/A N/A Return an iterator of (validator_name, validator) pairs. N/A N/A N/A six iteritems validators N/A