Metadata-Version: 1.1
Name: pydotconfig
Version: 0.1.3
Summary: Super simple python module for parsing structured config files with overrides
Home-page: https://github.com/adammhaile/dotconfig
Author: UNKNOWN
Author-email: UNKNOWN
License: LGPL v3.0
Description-Content-Type: UNKNOWN
Description: DotConfig
        ---------
        
        Super simple python module for parsing structured config files with overrides
        
        Install via:
        
        ```
        pip install pydotconfig
        ```
        
        ## Example
        
        ```
        import dotconfig
        import os
        
        # Try using these to override the config file values
        # For example: export DCFG_BAR='Green Eggs'
        ENVVARS = {
            'foo': 'DCFG_FOO',
            'bar': 'DCFG_BAR'
        }
        
        DEFAULTS = {
            'foo': 'spam',
            'bar': 'eggs'
        }
        
        if __name__ == '__main__':
            cfg = dotconfig.Config('example', 'settings',
                                envvars=ENVVARS, defaults=DEFAULTS,
                                template_file='template.yaml')
        
            print(cfg.to_dict())
        ```
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Classifier: Programming Language :: Python :: 2.7
