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

All Samples(14)  |  Call(0)  |  Derive(12)  |  Import(2)
A configuration part is an OO abstraction for a ConfigParser that allows
for ease of documentation and usage of configuration options. All
subclasses of ConfigurationPart must follow a naming convention. A
configuration part subclass must start with the name of its section. This
must then be followed by the word "Configuration." This convention results
in subclasses with names similar to: CoreConfiguration and
LoggingConfiguration.

A configuration part subclass will have its section set to the lowercase
name of the subclass sans the word such that a subclass with the name,(more...)

src/p/y/pyrox-0.4.5/pyrox/server/config.py   pyrox(Download)
from pyrox.util.config import (load_config, ConfigurationPart,
                               ConfigurationError)
 
 
_DEFAULTS = {
class CoreConfiguration(ConfigurationPart):
    """
    Class mapping for the Pyrox core configuration section.
    ::
        # Core section
class SSLConfiguration(ConfigurationPart):
    """
    Class mapping for the Portal configuration section 'ssl'
    """
    @property
class LoggingConfiguration(ConfigurationPart):
    """
    Class mapping for the Pyrox logging configuration section.
    ::
        # Logging section
class PipelineConfiguration(ConfigurationPart):
    """
    Class mapping for the Pyrox pipeline configuration section.
    ::
        # Pipeline section

src/p/y/pyrox-HEAD/pyrox/server/config.py   pyrox(Download)
from pyrox.util.config import (load_config, ConfigurationPart,
                               ConfigurationError)
 
 
_DEFAULTS = {
class CoreConfiguration(ConfigurationPart):
    """
    Class mapping for the Pyrox core configuration section.
    ::
        # Core section
class SSLConfiguration(ConfigurationPart):
    """
    Class mapping for the Portal configuration section 'ssl'
    """
    @property
class LoggingConfiguration(ConfigurationPart):
    """
    Class mapping for the Pyrox logging configuration section.
    ::
        # Logging section
class PipelineConfiguration(ConfigurationPart):
    """
    Class mapping for the Pyrox pipeline configuration section.
    ::
        # Pipeline section