Martin A. Brown
8a554a430d
adding 2016 LDP copyright to each file
2016-04-29 11:02:02 -04:00
Martin A. Brown
3f92a7a95c
everybody gets unicode_literals
2016-03-14 22:18:09 -07:00
Martin A. Brown
5af0c2a955
use the proper Python 3.x name for [Safe]ConfigParser
2016-03-14 20:11:04 -07:00
Martin A. Brown
fa73f93080
messed up indentation
2016-02-29 11:37:13 -08:00
Martin A. Brown
6cdf0b65c1
explicitly stringify values at "input"
...
user can pass in a dict(); os.environ always contains string values, though,
so make sure that the dict() looks like what would be returned from os.environ
2016-02-29 10:48:03 -08:00
Martin A. Brown
65a80f1339
add __name__ to getLogger() calls
2016-02-25 12:29:55 -08:00
Martin A. Brown
859b7f893f
pull logger straight from logging; use abs imports
2016-02-25 11:39:18 -08:00
Martin A. Brown
5dee57763c
pep8 fix
2016-02-23 08:43:44 -08:00
Martin A. Brown
b62b732a23
correct location of logging.debug message, suppress None in cfg
2016-02-22 20:23:59 -08:00
Martin A. Brown
6fe55dc912
and deal with the problem ofg None
2016-02-22 18:03:44 -08:00
Martin A. Brown
2087719782
removing extraneous sample invocations
2016-02-22 17:28:15 -08:00
Martin A. Brown
15fe8fc3b6
factor out --dump-cli and --dump-env logic into functions
2016-02-22 17:27:27 -08:00
Martin A. Brown
82f5b63006
make CascadingConfig behave more like ArgumentParser
2016-02-22 16:19:05 -08:00
Martin A. Brown
c1c4b2b79c
separate init and config resolution; dump configs
...
separate the initialization process from the resolution
of configurations
add logic to dump configuration file formatted outputs, as well
2016-02-22 12:30:34 -08:00
Martin A. Brown
372ae734de
adding some logic for repproducing received configurations
2016-02-21 17:48:46 -08:00
Martin A. Brown
e7af014a73
initial commit of cascading config
...
this utility allows resolution of configuration data from multiple sources;
for example, 'compiled-in' defaults, system configuration file, user
configuration file, process environment and, of course, command-line options
2016-02-21 12:19:51 -08:00