{ "info": { "author": "Andrey Makhnach", "author_email": "andrey.makhnach@kpn.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP" ], "description": "etcd_config\n===========\n\n.. image:: https://secure.travis-ci.org/kpn-digital/etcd_config.svg?branch=master\n :target: http://travis-ci.org/kpn-digital/etcd_config?branch=master\n\n.. image:: https://img.shields.io/codecov/c/github/kpn-digital/etcd_config/master.svg\n :target: http://codecov.io/github/kpn-digital/etcd_config?branch=master\n\n.. image:: https://img.shields.io/pypi/v/etcd_config.svg\n :target: https://pypi.python.org/pypi/etcd_config\n\n.. image:: https://readthedocs.org/projects/etcd_config/badge/?version=latest\n :target: http://etcd_config.readthedocs.org/en/latest/?badge=latest\n\n\nFeatures\n--------\n\nThis library allows Python applications load configuration from ETCD:\n\n* Environment dependent values\n* Values in different config sets, identified by name\n\n\nBackends\n--------\n\n- ETCD 2.2.1\n\n\nInstallation\n------------\n\n.. code-block:: bash\n\n $ pip install etcd-config\n\n\nUsage\n-----\n\n.. code-block:: python\n\n import etcd_config.loader\n config = etcd_config.loader.get_overwrites(\n env='test',\n dev_params='main.params',\n etcd_details=dict(\n protocol=getattr(params, 'ETCD_PROTOCOL', 'http'),\n host=getattr(params, 'ETCD_HOST', 'localhost'),\n port=getattr(params, 'ETCD_PORT', 2379),\n username=getattr(params, 'ETCD_USERNAME', None),\n password=getattr(params, 'ETCD_PASSWORD', None),\n prefix='/config/your_project'\n )\n )", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kpn-digital/py-etcd-config", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "etcd-config", "package_url": "https://pypi.org/project/etcd-config/", "platform": "", "project_url": "https://pypi.org/project/etcd-config/", "project_urls": { "Homepage": "https://github.com/kpn-digital/py-etcd-config" }, "release_url": "https://pypi.org/project/etcd-config/1.0.4/", "requires_dist": null, "requires_python": "", "summary": "A dynamic settings management solution using ETCD", "version": "1.0.4" }, "last_serial": 3218568, "releases": { "1.0.3": [ { "comment_text": "", "digests": { "md5": "746c27192f5831b292deee6aebcff8f7", "sha256": "79d705458daa9c8bda0ff4c3f6ca3145443be3183a7869a6f48ad1f60c7aea1f" }, "downloads": -1, "filename": "etcd-config-1.0.3.tar.gz", "has_sig": false, "md5_digest": "746c27192f5831b292deee6aebcff8f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12662, "upload_time": "2017-09-15T12:10:32", "url": "https://files.pythonhosted.org/packages/47/39/c4e15cea0b59e1b8076ef6baf538c6d436f03ea8f9257b8bdca758a5dab4/etcd-config-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "e2192f92fbce4dec9144f5f8b37fb3b1", "sha256": "0f26d94dcd23827328feab4566d04ab709c857f11c0a32afb71798bbad0d8d19" }, "downloads": -1, "filename": "etcd-config-1.0.4.tar.gz", "has_sig": false, "md5_digest": "e2192f92fbce4dec9144f5f8b37fb3b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12658, "upload_time": "2017-10-02T12:50:42", "url": "https://files.pythonhosted.org/packages/0a/44/a79d2c6280c68009874083e8f69c41febd3dd29e4ecf3c4eb5986fae3530/etcd-config-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e2192f92fbce4dec9144f5f8b37fb3b1", "sha256": "0f26d94dcd23827328feab4566d04ab709c857f11c0a32afb71798bbad0d8d19" }, "downloads": -1, "filename": "etcd-config-1.0.4.tar.gz", "has_sig": false, "md5_digest": "e2192f92fbce4dec9144f5f8b37fb3b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12658, "upload_time": "2017-10-02T12:50:42", "url": "https://files.pythonhosted.org/packages/0a/44/a79d2c6280c68009874083e8f69c41febd3dd29e4ecf3c4eb5986fae3530/etcd-config-1.0.4.tar.gz" } ] }