{ "info": { "author": "Kirill Klenov", "author_email": "horneds@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Natural Language :: Russian", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Testing", "Topic :: Utilities" ], "description": "Bottle Configuration\n####################\n\n.. _description:\n\nBottle Configuration -- Configure Bottle from files.\n\n.. _badges:\n\n\n.. image:: http://img.shields.io/travis/klen/bottle-config.svg?style=flat-square\n :target: http://travis-ci.org/klen/bottle-config\n :alt: Build Status\n\n.. image:: http://img.shields.io/coveralls/klen/bottle-config.svg?style=flat-square\n :target: https://coveralls.io/r/klen/bottle-config\n :alt: Coverals\n\n.. image:: http://img.shields.io/pypi/v/bottle-config.svg?style=flat-square\n :target: https://pypi.python.org/pypi/bottle-config\n :alt: Version\n\n.. image:: http://img.shields.io/pypi/dm/bottle-config.svg?style=flat-square\n :target: https://pypi.python.org/pypi/bottle-config\n :alt: Downloads\n\n.. image:: http://img.shields.io/gratipay/klen.svg?style=flat-square\n :target: https://www.gratipay.com/klen/\n :alt: Donate\n\n.. _contents:\n\n.. contents::\n\n.. _requirements:\n\nRequirements\n=============\n\n- python >= 2.6\n\n.. _installation:\n\nInstallation\n=============\n\n**Bottle Configuration** should be installed using pip: ::\n\n pip install bottle_config\n\n.. _usage:\n\nUsage\n=====\n\nThe application provide configuration like Django settings.\n\n`settings.py`: ::\n\n DEBUG = True\n ANOTHER_OPTION = 'VALUE'\n\n\n::\n\n import bottle\n from bottle_config import config\n\n app = bottle.Bottle()\n app.install(config)\n\n # See app.config\n\n::\n\n import bottle\n from bottle_config import Config\n\n app = bottle.Bottle()\n app.install(Config('custom.default.module'))\n\n # See app.config\n\nUse environment variable `BOTTLE_CONFIG` to set a configuration module\n\n::\n\n BOTTLE_CONFIG=project.config.production python app.py\n\n.. _bugtracker:\n\nBug tracker\n===========\n\nIf you have any suggestions, bug reports or\nannoyances please report them to the issue tracker\nat https://github.com/klen/bottle_config/issues\n\n.. _contributing:\n\nContributing\n============\n\nDevelopment of starter happens at github: https://github.com/klen/bottle_config\n\n\nContributors\n=============\n\n* klen_ (Kirill Klenov)\n\n.. _license:\n\nLicense\n=======\n\nLicensed under a `BSD license`_.\n\n.. _links:\n\n.. _BSD license: http://www.linfo.org/bsdlicense.html\n.. _klen: http://klen.github.com/", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/klen/bottle-config", "keywords": "django,flask,sqlalchemy,testing,mock,stub,mongoengine,data", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "bottle-config", "package_url": "https://pypi.org/project/bottle-config/", "platform": "Any", "project_url": "https://pypi.org/project/bottle-config/", "project_urls": { "Homepage": "https://github.com/klen/bottle-config" }, "release_url": "https://pypi.org/project/bottle-config/0.1.2/", "requires_dist": null, "requires_python": null, "summary": null, "version": "0.1.2" }, "last_serial": 1355413, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "96df70ac5c35311dbecfc129a4087cf6", "sha256": "1c88111cf3c77195303107b7ec90d2880eaa433989df441b46deb5677c737466" }, "downloads": -1, "filename": "bottle_config-0.1.1-cp27-none-macosx_10_10_x86_64.whl", "has_sig": false, "md5_digest": "96df70ac5c35311dbecfc129a4087cf6", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, "size": 3877, "upload_time": "2014-12-20T13:26:37", "url": "https://files.pythonhosted.org/packages/35/e0/aa3ef66343315bc89329b3e777102faffa60694a81737c1ec27c802f2c3d/bottle_config-0.1.1-cp27-none-macosx_10_10_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "38d727554cdc08ca59653fa7c15337e9", "sha256": "3e28ff3dc2c11c0cbcef555d2364efffe92785dd6e280fc76c22741bb9b6292a" }, "downloads": -1, "filename": "bottle-config-0.1.1.tar.gz", "has_sig": false, "md5_digest": "38d727554cdc08ca59653fa7c15337e9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3685, "upload_time": "2014-12-20T13:26:34", "url": "https://files.pythonhosted.org/packages/7b/08/a2a9c19de784eecf250c09031a83f9092ba5c4da67765d400cc30720db45/bottle-config-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "6a1441b9a73815753592abcd5b783adf", "sha256": "dd3224b0bd9dbbeece43a886104680eb0cca730fc2c8933f080bdd367bfe1a20" }, "downloads": -1, "filename": "bottle_config-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6a1441b9a73815753592abcd5b783adf", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4493, "upload_time": "2014-12-20T13:35:03", "url": "https://files.pythonhosted.org/packages/14/87/5ff943674b6af1dd806e5a51b9bc5aab77a30dba132b5922ff9428115ee4/bottle_config-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7a40422c1714ec93a217d318239540eb", "sha256": "afe121f9e2967e4422d8d8211a92b216dcc5af2269fbeec82cb1ac95dd0af5c6" }, "downloads": -1, "filename": "bottle-config-0.1.2.tar.gz", "has_sig": false, "md5_digest": "7a40422c1714ec93a217d318239540eb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3703, "upload_time": "2014-12-20T13:35:01", "url": "https://files.pythonhosted.org/packages/75/0b/e202a9c07b20c393162d2cde08a89a4c4aaf8bfb98f46986beb29b887cda/bottle-config-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6a1441b9a73815753592abcd5b783adf", "sha256": "dd3224b0bd9dbbeece43a886104680eb0cca730fc2c8933f080bdd367bfe1a20" }, "downloads": -1, "filename": "bottle_config-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6a1441b9a73815753592abcd5b783adf", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4493, "upload_time": "2014-12-20T13:35:03", "url": "https://files.pythonhosted.org/packages/14/87/5ff943674b6af1dd806e5a51b9bc5aab77a30dba132b5922ff9428115ee4/bottle_config-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7a40422c1714ec93a217d318239540eb", "sha256": "afe121f9e2967e4422d8d8211a92b216dcc5af2269fbeec82cb1ac95dd0af5c6" }, "downloads": -1, "filename": "bottle-config-0.1.2.tar.gz", "has_sig": false, "md5_digest": "7a40422c1714ec93a217d318239540eb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3703, "upload_time": "2014-12-20T13:35:01", "url": "https://files.pythonhosted.org/packages/75/0b/e202a9c07b20c393162d2cde08a89a4c4aaf8bfb98f46986beb29b887cda/bottle-config-0.1.2.tar.gz" } ] }