A little package for loading Flask configurations from YAML files.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
flask_cfg
.gitignore
CHANGELOG.md
LICENSE
MANIFEST.in
README.txt
requirements.txt
setup.py

README.txt

===========
flask-cfg
===========

A little package for loading Flask configurations from YAML files. Comes 
with an abstract class with base functionality for loading YAML base 
configurations. You can extend the base functionality to dynamically load
additional configurations (e.g. from a database). Typical usage looks like
this::

    from flask import Flask
    from flask_cfg import SimpleConfig

    app = Flask() 
    config = SimpleConfig(default_conf_paths='default.yaml', 
        override_conf_paths='some/path/staging.yaml',
        secret_conf_paths='instance/local.yaml')
    app.config.from_object(config)