{ "info": { "author": "Emmanuel Dyan", "author_email": "emmanuel@impulsare.io", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: Science/Research", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Scientific/Engineering", "Topic :: System :: Distributed Computing", "Topic :: System :: Systems Administration" ], "description": "impulsare/config\n==================================\n\n.. image:: https://travis-ci.org/impulsare/config.svg?branch=master\n :target: https://travis-ci.org/impulsare/config\n\n.. image:: https://scrutinizer-ci.com/g/impulsare/config/badges/quality-score.png?b=master\n :target: https://scrutinizer-ci.com/g/impulsare/config/\n\n\nOverview\n--------------------------\nA config reader, that validates a YAML config file and add default values if required.\n\nExtra values won't be verified, that any component / library defines its own config parameters\nin a single configuration file without blocking other to do the same.\n\nSee `tests/static/` for examples.\n\n\nInstallation / Usage\n--------------------------\nTo install use pip:\n\n.. code-block:: bash\n\n $ pip install --upgrade impulsare-config\n\n\nExample\n--------------------------\n\n.. code-block:: python\n\n from impulsare_config import Reader\n\n # Main Config File\n config_file = 'config/app.yml'\n # File with validation rules based on JSON Schema\n specs_file = 'config/specs.yml'\n # Default values\n default_file = 'config/default.yml'\n\n config = Reader().parse(config_file, specs_file, default_file)\n\n\nDevelopment & Tests\n--------------------------\n\n.. code-block:: bash\n\n $ pip install -r requirements.txt\n $ pip install -r requirements-dev.txt\n $ py.test --cov-report html --cov=impulsare_config tests/", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/impulsare/config/tarball/1.0b5", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/impulsare/config", "keywords": "config,python,yaml", "license": "AGPLv3", "maintainer": "", "maintainer_email": "", "name": "impulsare-config", "package_url": "https://pypi.org/project/impulsare-config/", "platform": "", "project_url": "https://pypi.org/project/impulsare-config/", "project_urls": { "Download": "https://github.com/impulsare/config/tarball/1.0b5", "Homepage": "https://github.com/impulsare/config" }, "release_url": "https://pypi.org/project/impulsare-config/1.0b5/", "requires_dist": null, "requires_python": "", "summary": "A config reader (yaml) that validates config files content.", "version": "1.0b5" }, "last_serial": 3089390, "releases": { "1.0b4": [ { "comment_text": "", "digests": { "md5": "1b81a04745d5c4b94dfa131c6e032122", "sha256": "e466d8f8f737d567604cff2348dbfeca6fe97d2f20bc268ba2e5b6ec60ce5a76" }, "downloads": -1, "filename": "impulsare-config-1.0b4.tar.gz", "has_sig": false, "md5_digest": "1b81a04745d5c4b94dfa131c6e032122", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2833, "upload_time": "2017-08-10T14:40:56", "url": "https://files.pythonhosted.org/packages/44/9a/e3881cc49d189a097cc6dfd454f9bb30de27f334b0e0eb617e84310a4368/impulsare-config-1.0b4.tar.gz" } ], "1.0b5": [ { "comment_text": "", "digests": { "md5": "750c051f3e64631ff2f0b0845194846e", "sha256": "80a6eb23081b0fcf8a7eeb8c8fc5937e1cd1214763a09b4ec44f4f58f6d098f1" }, "downloads": -1, "filename": "impulsare-config-1.0b5.tar.gz", "has_sig": false, "md5_digest": "750c051f3e64631ff2f0b0845194846e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3272, "upload_time": "2017-08-11T09:50:08", "url": "https://files.pythonhosted.org/packages/e2/49/af7957e03cf1afaca655d14ef4940623c87be9f801e9784c7763ace2a45c/impulsare-config-1.0b5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "750c051f3e64631ff2f0b0845194846e", "sha256": "80a6eb23081b0fcf8a7eeb8c8fc5937e1cd1214763a09b4ec44f4f58f6d098f1" }, "downloads": -1, "filename": "impulsare-config-1.0b5.tar.gz", "has_sig": false, "md5_digest": "750c051f3e64631ff2f0b0845194846e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3272, "upload_time": "2017-08-11T09:50:08", "url": "https://files.pythonhosted.org/packages/e2/49/af7957e03cf1afaca655d14ef4940623c87be9f801e9784c7763ace2a45c/impulsare-config-1.0b5.tar.gz" } ] }