{ "info": { "author": "Johan Nestaas", "author_email": "johan@riskiq.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Environment :: MacOS X", "Environment :: Win32 (MS Windows)", "Environment :: X11 Applications :: Qt", "License :: OSI Approved :: BSD License", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Programming Language :: Python" ], "description": "yamlcfg\n=======\n\nHierarchical YAML configuration utility for Python\n\nyamlcfg makes it easier to have different levels of YAML configuration files,\nwith prioritization that you declare, based on the order of the `paths`\nkeyword argument.\n\nIt first checks your environment for the variable, and if it exists, it uses\nthat over anything else. Then it checks the first file in `paths`, or `path`,\nand then the next in order until the variable is found. If not found, it returns\nNone.\n\nAccess is allowed via normal attribute access via the dot operator, or from\nan index such as `config['myattr']`.\n\nTo dump the full configuration that was loaded back to file (first path in\n`paths`), just invoke `write()`.\n\nExample:\n\n from yamlcfg import YamlConfig\n config = YamlConfig(path='~/.some_config.yml')\n print(config.foo)\n config.foo = 'bar'\n config.write()\n\n fifo_configs = YamlConfig(paths=\n ('.myconfig.yml', '~/.userconfig.yml', '/etc/myconfig/defaultconfig.yml')\n )\n # First checks .myconfig.yml, and if it doesn't exist there, it checks\n # ~/.userconfig.yml, and so on. If an environment variable of the same name\n # is set, it will use that first.\n print(fifo_configs.some_var)\n # Dumps to the first path in paths, with every variable it found in order.\n fifo_configs.write()", "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/RiskIQ/pyyamlcfg", "keywords": "config,configuration,cfg,yaml,yml", "license": "BSDv2", "maintainer": null, "maintainer_email": null, "name": "yamlcfg", "package_url": "https://pypi.org/project/yamlcfg/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/yamlcfg/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/RiskIQ/pyyamlcfg" }, "release_url": "https://pypi.org/project/yamlcfg/0.5.3/", "requires_dist": null, "requires_python": null, "summary": "Hierarchical YAML configuration utility for Python", "version": "0.5.3" }, "last_serial": 1722421, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "16c613dbc1ac94e9094ef64774f1b94a", "sha256": "d047ecaadf6404c8dddb75ccf6d914b3012c3db6d80c63c400439c90724f1ed0" }, "downloads": -1, "filename": "yamlcfg-0.2.0.tar.gz", "has_sig": false, "md5_digest": "16c613dbc1ac94e9094ef64774f1b94a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3637, "upload_time": "2015-03-12T18:27:51", "url": "https://files.pythonhosted.org/packages/c2/7e/9c37198c5b84abbfebb9d445083d02da2bf4208d748fa44787389a54f69a/yamlcfg-0.2.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "4b428f3e376cacc885ec4033f6fefbb4", "sha256": "7611ba2b776b83959efaea88edeb5d556f3296320924b2a024c32bfce2191f55" }, "downloads": -1, "filename": "yamlcfg-0.3.1.tar.gz", "has_sig": false, "md5_digest": "4b428f3e376cacc885ec4033f6fefbb4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3642, "upload_time": "2015-03-12T19:30:45", "url": "https://files.pythonhosted.org/packages/7c/49/f69904c642c3650bb2844630f3db0f2ae3f480429569107cd872e4d55096/yamlcfg-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "8e0989c0b60774bbcd8c4e6ab7353f8f", "sha256": "07695ad851670914f90f820a7b90953941be6476eae9a230d7483860be7ae986" }, "downloads": -1, "filename": "yamlcfg-0.3.2.tar.gz", "has_sig": false, "md5_digest": "8e0989c0b60774bbcd8c4e6ab7353f8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3640, "upload_time": "2015-03-12T23:17:56", "url": "https://files.pythonhosted.org/packages/ac/ce/7a68ef360daabc73e805a906fdfb96d4e1758c871d44f983a81a50362a2e/yamlcfg-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "9cee3b1718a9b79799d6d1b85072f948", "sha256": "1b8c105ed964539c30d4489c56cbc6d28b41cb2f32f2c9bee005241890f366f1" }, "downloads": -1, "filename": "yamlcfg-0.3.3.tar.gz", "has_sig": false, "md5_digest": "9cee3b1718a9b79799d6d1b85072f948", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4357, "upload_time": "2015-08-25T23:06:06", "url": "https://files.pythonhosted.org/packages/78/64/bb7b8d7b117d9dab3b170079aa47a0a613c83ecdf33eb51cde8d56ee2a83/yamlcfg-0.3.3.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "7da227ad9b799fd965914d5d871eb3bc", "sha256": "d6cbe62d2cf4184b0aac6df843b889c15b2a1f07953a66a02ffc868328e70a71" }, "downloads": -1, "filename": "yamlcfg-0.4.0.tar.gz", "has_sig": false, "md5_digest": "7da227ad9b799fd965914d5d871eb3bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4763, "upload_time": "2015-08-28T19:24:52", "url": "https://files.pythonhosted.org/packages/78/93/c3f4fcefc0b2d324627174013007cc385e4b7d8706b9d43cdaf9587cd5b7/yamlcfg-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "f4d4399538c662debd3c8fae4b9c8285", "sha256": "ae1669aa830d9c70cff2e89c994098960396a9ac51371542af4fbc06ce61e4ac" }, "downloads": -1, "filename": "yamlcfg-0.5.0.tar.gz", "has_sig": false, "md5_digest": "f4d4399538c662debd3c8fae4b9c8285", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4987, "upload_time": "2015-08-28T20:28:45", "url": "https://files.pythonhosted.org/packages/7e/c6/2bf89b4a04034dc13dc0956c37c8de816b39776ed278e43149b01a076d79/yamlcfg-0.5.0.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "bc98d52523af33e55bf8ea3efd389a72", "sha256": "8d05386b1e0991a39c05728803dd2dc3b36c990d910622139fa040bcd9317b6d" }, "downloads": -1, "filename": "yamlcfg-0.5.1.tar.gz", "has_sig": false, "md5_digest": "bc98d52523af33e55bf8ea3efd389a72", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5005, "upload_time": "2015-09-01T07:31:19", "url": "https://files.pythonhosted.org/packages/8a/2b/0054bc1709306fa9f51cf72f2e73968b0d84420e78c40b25df23d034763f/yamlcfg-0.5.1.tar.gz" } ], "0.5.2": [ { "comment_text": "", "digests": { "md5": "a6876f10f8aadfc18fa40eaaa364f6ea", "sha256": "1455fb0cb0598f23cf3626fc311fc95505a7e00126dbf6b0b531fd26cce3ded5" }, "downloads": -1, "filename": "yamlcfg-0.5.2.tar.gz", "has_sig": false, "md5_digest": "a6876f10f8aadfc18fa40eaaa364f6ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5015, "upload_time": "2015-09-01T08:39:29", "url": "https://files.pythonhosted.org/packages/94/96/44714d5a9afeb59624e4c61ac84b477591bf8922e8d9330092e60ab69846/yamlcfg-0.5.2.tar.gz" } ], "0.5.3": [ { "comment_text": "", "digests": { "md5": "1950ba00eabceafe851ea09f7accacb1", "sha256": "8240c8ff0e181948d5a5609be92330759f99f01e5cce4a57cded32e50f24b9c4" }, "downloads": -1, "filename": "yamlcfg-0.5.3.tar.gz", "has_sig": false, "md5_digest": "1950ba00eabceafe851ea09f7accacb1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5150, "upload_time": "2015-09-14T19:04:36", "url": "https://files.pythonhosted.org/packages/50/3e/300f703e63e5c7aa6bfb51b1ece7d9dd63e20b624299b830bca3a3e62452/yamlcfg-0.5.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1950ba00eabceafe851ea09f7accacb1", "sha256": "8240c8ff0e181948d5a5609be92330759f99f01e5cce4a57cded32e50f24b9c4" }, "downloads": -1, "filename": "yamlcfg-0.5.3.tar.gz", "has_sig": false, "md5_digest": "1950ba00eabceafe851ea09f7accacb1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5150, "upload_time": "2015-09-14T19:04:36", "url": "https://files.pythonhosted.org/packages/50/3e/300f703e63e5c7aa6bfb51b1ece7d9dd63e20b624299b830bca3a3e62452/yamlcfg-0.5.3.tar.gz" } ] }