Configuration handling for developers
pip install devconfig==0.4.8
python2
and python3
application!url
!date
!datetime
!timedelta
!strjoin
!envvar
!regexp
!filecontent
!file
!socket
!yamlfile
- includes yaml by file path or urllogging.dictConfig
and values from merged configuration$ CONFIG=./some-config.yml program.py
)$ program.py --config=./some-config.yml
)file://
, http(s)://
urls as configuration pathftp://
urls as configuration pathgit://
urls as configuration path!class
, !object
, and !yamlfile
are considered dangerous since class or object creation may require existing configuration that is not exists during constructor call. !yamlfile
can refer !class
or !object
inside and/or cause infinte yaml load recursion or module load recursion.!file
and !socket
are considered dangerous since they are not serializable<module>.<config>
submodule that contains resulting configuration as mapping???