{ "info": { "author": "Felix Carmona", "author_email": "mail@felixcarmona.com", "bugtrack_url": null, "classifiers": [], "description": "configcascade\n=============\n\n.. image:: https://travis-ci.org/felixcarmona/configcascade.png?branch=master\n :target: https://travis-ci.org/felixcarmona/configcascade\n\n.. image:: https://coveralls.io/repos/felixcarmona/configcascade/badge.png?branch=master\n :target: https://coveralls.io/r/felixcarmona/configcascade?branch=master\n\n.. image:: https://pypip.in/d/configcascade/badge.png\n :target: https://pypi.python.org/pypi/configcascade/\n :alt: Downloads\n\n.. image:: https://pypip.in/v/configcascade/badge.png\n :target: https://pypi.python.org/pypi/configcascade/\n :alt: Latest Version\n\n\nA simple Configuration System which allows you to import and override or merge configuration parameters\n\nExample\n-------\n\n.. code-block:: python\n from configcascade import Settings, YamlFileLoader\n \n \n file_loader = YamlFileLoader()\n settings = Settings(file_loader, ['foo']) # the second parameter are a the settings you which you want to merge instead of override when you import\n result = settings.compile(\"file_a.yml\")\n\n**file_a.yml:**\n\n.. code-block:: yaml\n\n imports:\n - file_b.yml\n - file_c.yml\n \n foo:\n - x\n - y\n - z\n \n test:\n - a\n \n\n**file_b.yml:**\n\n.. code-block:: yaml\n\n foo:\n - 5\n - 7\n \n bbbb: 8\n\n**file_c.yml:**\n\n.. code-block:: yaml\n \n test:\n - b\n\n**The generated result will be:**\n\n.. code-block:: yaml\n\n foo:\n - x\n - y\n - z\n - 5\n - 7\n \n bbbb: 8\n \n test:\n - a", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/felixcarmona/configcascade", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "configcascade", "package_url": "https://pypi.org/project/configcascade/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/configcascade/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/felixcarmona/configcascade" }, "release_url": "https://pypi.org/project/configcascade/1.0.0/", "requires_dist": null, "requires_python": null, "summary": "A simple Configuration System which allows you to import and override or merge configuration parameters", "version": "1.0.0" }, "last_serial": 1346930, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "3445540f6ff60b5a20e82d2f8be82e9b", "sha256": "39727eb68ead546c9dfe36ad99a4323687be2917bd0252a2b4f75b910a2b9c8d" }, "downloads": -1, "filename": "configcascade-1.0.0.tar.gz", "has_sig": false, "md5_digest": "3445540f6ff60b5a20e82d2f8be82e9b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2535, "upload_time": "2014-12-17T00:34:03", "url": "https://files.pythonhosted.org/packages/50/78/662edfeae0238b2411075654510d28b3ee0fdaffdd0eb2a40cd5df44de34/configcascade-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3445540f6ff60b5a20e82d2f8be82e9b", "sha256": "39727eb68ead546c9dfe36ad99a4323687be2917bd0252a2b4f75b910a2b9c8d" }, "downloads": -1, "filename": "configcascade-1.0.0.tar.gz", "has_sig": false, "md5_digest": "3445540f6ff60b5a20e82d2f8be82e9b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2535, "upload_time": "2014-12-17T00:34:03", "url": "https://files.pythonhosted.org/packages/50/78/662edfeae0238b2411075654510d28b3ee0fdaffdd0eb2a40cd5df44de34/configcascade-1.0.0.tar.gz" } ] }