xoa.cfgm
Configuration management utilities based on configobj
Usage
See the Config management with xoa.cfgm section.
Functions
|
Convert a configuration to rst format |
|
Merge configuration and commandline arguments |
|
Recursively filter a section according to a dict of specifications |
|
|
|
|
|
Get a string representing the path of a ConfigObj through sections |
|
Get section names as list from top to bottom ['sec0','sec1',...] |
|
Get an option specification |
|
Get a default validator |
|
Parse bbox coordinates with value format: x1,y1,x2,y2 |
|
Validation function of a boolean or a string |
|
Validation function of a date (compatible with |
|
Validation function that return a :xoa.color.CmapAdapter |
|
Validate a matplotlib compatible color |
|
Validation function of a |
|
Validation function of a date range created with |
|
Validation function to magically create a |
|
Validation function to create a |
|
Validation function for dictionaries |
|
Validate a string that can be evaluated |
|
Validation function of a figure size (xsize,ysize) |
|
Validation function of an interval of coordinates (min,max[,bounds]) |
|
Validation function of a min,max pair |
|
Validation function of a tuple of numeric values |
|
Parse a value as a path |
|
Parse value as a |
|
Validation function of date as parsable by |
|
Validation function of date as parsable by |
|
Validation function of date as parsable by |
|
Convert --help str to rst |
|
|
|
Print all help of a parser instance but those of groups |
|
Print available xoa validator functions |
|
Add a new configobj validator functions |
|
|
|
Classes
|
A configuration management class based on |
Exceptions
List size is incorrect (nmin, nmax, odd, even or shape) |
|