Metadata-Version: 2.0
Name: yamlconf
Version: 0.2.1
Summary: This library provides a means to read yaml configuration files and propagate default values in reasonable ways.  Nothing complicated.
Home-page: https://github.com/halfak/yamlconf
Author: Aaron Halfaker
Author-email: ahalfaker@wikimedia.org
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Environment :: Other Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: pyyaml

Yaml Configuration
==================

This library provides a means to read yaml configuration files and propagate
default values in reasonable ways.  Nothing complicated.

* **Installation:** ``pip install yamlconfig``

:Example:

    >>> import yamlconf
    >>>
    >>> doc = yamlconf.loads("""
    ... test: demo_test
    ...
    ... tests:
    ...     defaults:
    ...         foo: 5
    ...     demo_test:
    ...         bar: 6
    ... """)
    >>>
    >>> doc['tests'][doc['test']]['foo']
    5
    >>> doc['tests'][doc['test']]['bar']
    6

:Functions:

* load(*file-like*) : Returns a *dict* with defaults propagated
* loads(*string*) : Returns a *dict* with defaults propagated
* load_module(*class-path*) : Imports and returns


