{ "info": { "author": "Anthony Martinet", "author_email": "anthony@alkivi.fr", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Build Tools" ], "description": "python-alkivi-config-manager\n============================\n\n|Build Status| |Requirements Status|\n\nPython config-manager used at Alkivi\n\nPackage\n-------\n\nExample\n\nWrite a conf like\n\n.. code:: ini\n\n [default]\n ; general configuration: default endpoint\n endpoint=dev\n\n [dev]\n ; configuration specific to 'dev' endpoint\n env=dev\n\n [prod]\n ; configuration specific to 'prod' endpoint\n env=prod\n\n.. code:: python\n\n from alkivi.config import ConfigManager\n config = ConfigManager('test')\n\n # This will look for several files, in order\n # 1. Current working directory: ``./test.conf``\n # 2. Current user's home directory ``~/.test.conf``\n # 3. System wide configuration ``/etc/test.conf``\n\n # Then find the endpoint\n endpoint = config.get('default', endpoint)\n\n # Or use a specific one\n endpoint = 'prod'\n\n # And then\n env = config.get(endpoint, 'env')\n\nParameters\n----------\n\nTests\n-----\n\nTesting is set up using `pytest `__ and coverage is\nhandled with the pytest-cov plugin.\n\nRun your tests with ``py.test`` in the root directory.\n\nCoverage is ran by default and is set in the ``pytest.ini`` file. To see\nan html output of coverage open ``htmlcov/index.html`` after running the\ntests.\n\nTODO\n\nTravis CI\n---------\n\nThere is a ``.travis.yml`` file that is set up to run your tests for\npython 2.7 and python 3.2, should you choose to use it.\n\nTODO\n\n.. |Build Status| image:: https://travis-ci.org/alkivi-sas/python-alkivi-config-manager.svg?branch=master\n :target: https://travis-ci.org/alkivi-sas/python-alkivi-config-manager\n.. |Requirements Status| image:: https://requires.io/github/alkivi-sas/python-alkivi-config-manager/requirements.svg?branch=master\n :target: https://requires.io/github/alkivi-sas/python-alkivi-config-manager/requirements/?branch=master\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/alkivi-sas/python-alkivi-config-manager", "keywords": "alkivi config configuration manager", "license": "LGPLv3", "maintainer": "", "maintainer_email": "", "name": "alkivi-config-manager", "package_url": "https://pypi.org/project/alkivi-config-manager/", "platform": "", "project_url": "https://pypi.org/project/alkivi-config-manager/", "project_urls": { "Homepage": "https://github.com/alkivi-sas/python-alkivi-config-manager" }, "release_url": "https://pypi.org/project/alkivi-config-manager/1.2.9/", "requires_dist": null, "requires_python": "", "summary": "Python config-manager used at Alkivi", "version": "1.2.9" }, "last_serial": 4100881, "releases": { "1.2.5": [ { "comment_text": "", "digests": { "md5": "7405de504cbeb6ab0938d2cc7d9ca04f", "sha256": "07c72a8cd3653170614ee2f59b7c46bac61f50c1617ee8ddd067fb02efef4505" }, "downloads": -1, "filename": "alkivi_config_manager-1.2.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7405de504cbeb6ab0938d2cc7d9ca04f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3907, "upload_time": "2017-12-08T16:41:10", "url": "https://files.pythonhosted.org/packages/7d/b5/527001244bd98057c34159b97bec8775dc12a2306ddb71b6897d073487bc/alkivi_config_manager-1.2.5-py2.py3-none-any.whl" } ], "1.2.6": [ { "comment_text": "", "digests": { "md5": "c9301005aaebbeb1581a0adef3af02b0", "sha256": "114d55dc0977e37604190f0d9152e3569ea5c69f3be083e8096289183feabc79" }, "downloads": -1, "filename": "alkivi_config_manager-1.2.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c9301005aaebbeb1581a0adef3af02b0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3905, "upload_time": "2017-12-08T17:02:45", "url": "https://files.pythonhosted.org/packages/9f/c2/f8b95667430441c24d272f049fa4d2089afcd424ac368ec4471f6c672b43/alkivi_config_manager-1.2.6-py2.py3-none-any.whl" } ], "1.2.7": [ { "comment_text": "", "digests": { "md5": "16c3280f780cf2322cafa032a659b3bd", "sha256": "8c1cb27ebf490215ca79249474ead4e5491c593ab9b88acb2b5b6b49d3005a90" }, "downloads": -1, "filename": "alkivi_config_manager-1.2.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "16c3280f780cf2322cafa032a659b3bd", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5317, "upload_time": "2017-12-08T17:10:10", "url": "https://files.pythonhosted.org/packages/0d/c0/6fc6264fe2a261753582fa519331e3e79d3f7748c605460ea4240c606867/alkivi_config_manager-1.2.7-py2.py3-none-any.whl" } ], "1.2.8": [ { "comment_text": "", "digests": { "md5": "9cf2958c9f1316c0bf36f5913007d3ff", "sha256": "eabee11ade5d1f00042308c99cb91768a67cbeb67d5f0bab1b53b7139c680980" }, "downloads": -1, "filename": "alkivi_config_manager-1.2.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9cf2958c9f1316c0bf36f5913007d3ff", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3655, "upload_time": "2018-07-25T14:43:45", "url": "https://files.pythonhosted.org/packages/41/6a/2ed9c472cca855875d903a59e8beb649ac590af2b9314b2db29042fd3ec4/alkivi_config_manager-1.2.8-py2.py3-none-any.whl" } ], "1.2.9": [ { "comment_text": "", "digests": { "md5": "de72cba204b7b7ec2a67af0a06914f4d", "sha256": "4c1d31412c8de90f4ea69552bccd772bfff8a8bee017a074777515c6910152b7" }, "downloads": -1, "filename": "alkivi_config_manager-1.2.9-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "de72cba204b7b7ec2a67af0a06914f4d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3636, "upload_time": "2018-07-25T15:07:58", "url": "https://files.pythonhosted.org/packages/5c/e0/cb703b45002c5b34f973ba6b62e9077e69840bfbebf2384d49cfc6f44413/alkivi_config_manager-1.2.9-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "de72cba204b7b7ec2a67af0a06914f4d", "sha256": "4c1d31412c8de90f4ea69552bccd772bfff8a8bee017a074777515c6910152b7" }, "downloads": -1, "filename": "alkivi_config_manager-1.2.9-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "de72cba204b7b7ec2a67af0a06914f4d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3636, "upload_time": "2018-07-25T15:07:58", "url": "https://files.pythonhosted.org/packages/5c/e0/cb703b45002c5b34f973ba6b62e9077e69840bfbebf2384d49cfc6f44413/alkivi_config_manager-1.2.9-py2.py3-none-any.whl" } ] }