============
ConfigLoader
============
.. image:: https://travis-ci.org/adblair/configloader.svg?branch=master
:target: https://travis-ci.org/adblair/configloader
.. image:: https://coveralls.io/repos/adblair/configloader/badge.svg?branch=master&service=github
:target: https://coveralls.io/github/adblair/configloader?branch=master
.. image:: https://img.shields.io/pypi/dm/configloader.svg
:target: https://pypi.python.org/pypi/configloader
ConfigLoader is a Python dictionary subclass that provides convenience methods
for common app configuration-loading scenarios, inspired by `flask.Config`_.
Features
--------
Easily load config settings from:
* Python modules, classes or objects
* JSON files
* YAML files
* Environment variables
Supports Python 2.6+ and 3.3+.
Installation
------------
Install ConfigLoader from `PyPI`_ using `pip`_::
pip install configloader[all]
The ``[all]`` indicates that all optional dependencies (AttrDict and PyYAML)
should be installed.
Example usage
-------------
::
>>> from configloader import ConfigLoader
>>> config = ConfigLoader
>>> config.update_from_object('my_app.settings')
>>> config.update_from_yaml_env('YAML_SETTINGS_PATH')
Documentation
-------------
https://configloader.readthedocs.org/en/stable/
.. _flask.Config: http://flask.pocoo.org/docs/0.10/api/#configuration
.. _PyPI: https://pypi.python.org/pypi
.. _pip: https://pip.pypa.io/
Raw data
{
"_id": null,
"home_page": "https://github.com/adblair/configloader",
"name": "configloader",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "configloader",
"author": "Arthur Blair",
"author_email": "adblair@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/03/c6/2d4c864b0dff2285199de57b213487d54aa6a235fb664a862361b5c08057/configloader-1.0.1.tar.gz",
"platform": "UNKNOWN",
"description": "============\nConfigLoader\n============\n\n.. image:: https://travis-ci.org/adblair/configloader.svg?branch=master\n :target: https://travis-ci.org/adblair/configloader\n\n.. image:: https://coveralls.io/repos/adblair/configloader/badge.svg?branch=master&service=github\n :target: https://coveralls.io/github/adblair/configloader?branch=master\n\n.. image:: https://img.shields.io/pypi/dm/configloader.svg\n :target: https://pypi.python.org/pypi/configloader\n\nConfigLoader is a Python dictionary subclass that provides convenience methods\nfor common app configuration-loading scenarios, inspired by `flask.Config`_.\n\n\nFeatures\n--------\n\nEasily load config settings from:\n\n* Python modules, classes or objects\n* JSON files\n* YAML files\n* Environment variables\n\nSupports Python 2.6+ and 3.3+.\n\n\nInstallation\n------------\n\nInstall ConfigLoader from `PyPI`_ using `pip`_::\n\n pip install configloader[all]\n\nThe ``[all]`` indicates that all optional dependencies (AttrDict and PyYAML)\nshould be installed.\n\n\nExample usage\n-------------\n\n::\n\n >>> from configloader import ConfigLoader\n >>> config = ConfigLoader\n >>> config.update_from_object('my_app.settings')\n >>> config.update_from_yaml_env('YAML_SETTINGS_PATH')\n\n\nDocumentation\n-------------\n\nhttps://configloader.readthedocs.org/en/stable/\n\n\n.. _flask.Config: http://flask.pocoo.org/docs/0.10/api/#configuration\n.. _PyPI: https://pypi.python.org/pypi\n.. _pip: https://pip.pypa.io/",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python dict that supports common app configuration-loading scenarios.",
"version": "1.0.1",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "https://github.com/adblair/configloader"
},
"split_keywords": [
"configloader"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "07d9d8ce151635877c9dd243521e80cf4e56afbccb302ea5d4dab62f923cf809",
"md5": "c7a91dd22ddcb031d8e719867a852542",
"sha256": "e2033a2328f704c68479423ae0ad3dcc08767270c5f57f562f2aa0bd370c16b9"
},
"downloads": -1,
"filename": "configloader-1.0.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "c7a91dd22ddcb031d8e719867a852542",
"packagetype": "bdist_wheel",
"python_version": "3.4",
"requires_python": null,
"size": 6519,
"upload_time": "2015-10-14T11:22:44",
"upload_time_iso_8601": "2015-10-14T11:22:44.981263Z",
"url": "https://files.pythonhosted.org/packages/07/d9/d8ce151635877c9dd243521e80cf4e56afbccb302ea5d4dab62f923cf809/configloader-1.0.1-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "03c62d4c864b0dff2285199de57b213487d54aa6a235fb664a862361b5c08057",
"md5": "34ff2de601a1d054161ed057e7a8eb16",
"sha256": "e2613c1b8c838e1f3046bf6bb4a11ecfaf6e3950e5a2aa1b8569b39c9171a044"
},
"downloads": -1,
"filename": "configloader-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "34ff2de601a1d054161ed057e7a8eb16",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15254,
"upload_time": "2015-10-14T11:22:39",
"upload_time_iso_8601": "2015-10-14T11:22:39.687578Z",
"url": "https://files.pythonhosted.org/packages/03/c6/2d4c864b0dff2285199de57b213487d54aa6a235fb664a862361b5c08057/configloader-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2015-10-14 11:22:39",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "adblair",
"github_project": "configloader",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"tox": true,
"lcname": "configloader"
}