{ "info": { "author": "Marek Szwalkiewicz", "author_email": "marek@szwalkiewicz.waw.pl", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "pyramid_settings\n================\n\n`pyramid_settings` is simplest package (2 functions to be fair) that enables\nyou to load python modules as pyramid settings files.\n\nTL;DR; You can ditch most of your .ini files and store your settings in\nclean python.\n\n\nUsage\n-----\n\n from pyramid.config import Configurator\n\n from pyramid_settings import load_settings\n\n\n def main(global_config, **settings):\n \"\"\" This function returns a Pyramid WSGI application.\n\n \"\"\"\n\n load_settings(__name__, settings, config=global_config)\n\n config = Configurator(settings=settings)\n config.scan()\n return config.make_wsgi_app()\n\nand this is all you need (if you use paster ini files and pserv) to be able to use:\n\n $ pserv development.ini pysettings=settings.py,base.py,roman.py\n\n\nWarning\n-------\n\nEverything you see here is work in progress and should not be ever used in\nproduction (trust me - don't trust me). Contributions, critique, angry letters\nand such are welcome.\n\n\nInstallation\n------------\n\nInstall with pip::\n\n $ pip install pyramid_settings\n\nIssues and questions\n--------------------\n\nHave a bug? Please create an issue on GitHub!\n\nhttps://github.com/niktto/pyramid_settings/issues\n\n\nContributing\n------------\n\nEasyEmail is an open source software and your contribution is very much\nappreciated.\n\n1. Check for\n `open issues https://github.com/niktto/pyramid_settings/issues or\n `open a fresh issue https://github.com/niktto/pyramid_settings/issues/new\n to start a discussion around a feature idea or a bug.\n2. Fork the\n `repository on Github https://github.com/niktto/pyramid_settings\n and make your changes.\n3. Follow these rules: PEP8, PEP257 and The\n Zen of Python.\n4. Make sure to add yourself to AUTHORS and send a pull request.\n\n\nLicence\n-------\n\nEasyEmail is available under the New BSD License. See\nLICENSE https://github.com/niktto/pyramid_settings/blob/master/LICENSE\nfile.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/niktto/pyramid_settings/", "keywords": "web pyramid pylons", "license": "Copyright (c) 2013, Marek Szwa\u0142kiewicz\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\n * Neither the name of the nor the\n names of its contributors may be used to endorse or promote products\n derived from this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.", "maintainer": null, "maintainer_email": null, "name": "pyramid_settings", "package_url": "https://pypi.org/project/pyramid_settings/", "platform": "any", "project_url": "https://pypi.org/project/pyramid_settings/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/niktto/pyramid_settings/" }, "release_url": "https://pypi.org/project/pyramid_settings/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "Pyramid settings module that lets you use settings.py", "version": "0.1.2" }, "last_serial": 808667, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "00db14c06e7cc28b5760a723fbc226a7", "sha256": "ec0573222d86c2fece24ff5892bb5b960cee72363d4101f9715d5c7ae89a81c4" }, "downloads": -1, "filename": "pyramid_settings-0.1.tar.gz", "has_sig": false, "md5_digest": "00db14c06e7cc28b5760a723fbc226a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5158, "upload_time": "2013-07-05T08:25:44", "url": "https://files.pythonhosted.org/packages/eb/ab/14c73863e94b75ecb6038c6fe1883a5099bc25d2c3b1a9bebe8a964ffc87/pyramid_settings-0.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "692bc5ac99929ccdc795d02c42774a09", "sha256": "02500aaa8158f0dd9d55271df956a8bc1112eaf2325f0c16bf7c05a1fe591896" }, "downloads": -1, "filename": "pyramid_settings-0.1.2.tar.gz", "has_sig": false, "md5_digest": "692bc5ac99929ccdc795d02c42774a09", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5488, "upload_time": "2013-07-05T08:36:50", "url": "https://files.pythonhosted.org/packages/9d/35/5ecf77965925aa8500c4715398650b3f01bfdbb4c2684d0eac2e1ed09524/pyramid_settings-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "692bc5ac99929ccdc795d02c42774a09", "sha256": "02500aaa8158f0dd9d55271df956a8bc1112eaf2325f0c16bf7c05a1fe591896" }, "downloads": -1, "filename": "pyramid_settings-0.1.2.tar.gz", "has_sig": false, "md5_digest": "692bc5ac99929ccdc795d02c42774a09", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5488, "upload_time": "2013-07-05T08:36:50", "url": "https://files.pythonhosted.org/packages/9d/35/5ecf77965925aa8500c4715398650b3f01bfdbb4c2684d0eac2e1ed09524/pyramid_settings-0.1.2.tar.gz" } ] }