Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
Queryable collection of parameters whose values are set by the user.

Using the normal dictionary lookup mechanism (D[]), one can obtain the user
set values for particular parameters (set in command line arguments,
configuration files, or environment variables) which have been added to

The three sources (command line arguments, configuration files, and
environment variables) can have values for parameters.  When two or more
sources define values for the same parameter, the first source (highest(more...)

src/m/a/margarine-HEAD/margarine/parameters/__init__.py   margarine(Download)
import os
from crumbs import Parameters
logger = logging.getLogger(__name__)
CONFIGURATION_DIRECTORY = os.path.join(os.path.sep, 'etc', 'margarine')
PARAMETERS = Parameters(conflict_handler = 'resolve', inotify = True)
PARAMETERS.parse(only_known = True)
if os.access(PARAMETERS['logging.configuration_file_path'], os.R_OK):