Metadata-Version: 1.1
Name: pyramid_settings
Version: 0.1
Summary: Pyramid settings module that lets you use settings.py
Home-page: http://github.com/niktto/pyramid_settings/
Author: Marek Szwalkiewicz
Author-email: marek@szwalkiewicz.waw.pl
License: Copyright (c) 2013, Marek Szwałkiewicz
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
    * Redistributions of source code must retain the above copyright
      notice, this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright
      notice, this list of conditions and the following disclaimer in the
      documentation and/or other materials provided with the distribution.
    * Neither the name of the <organization> nor the
      names of its contributors may be used to endorse or promote products
      derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Description: pyramid_settings
        ================
        
        `pyramid_settings` is simplest package (2 functions to be fair) that enables
        you to load python modules as pyramid settings files.
        
        TL;DR; You can ditch most of your .ini files and store your settings in
        clean python.
        
        
        Usage
        -----
        
        .. code-block::
        
            from pyramid.config import Configurator
        
            from pyramid_settings import load_settings
        
        
            def main(global_config, **settings):
                """ This function returns a Pyramid WSGI application.
        
                """
        
                load_settings(__name__, settings, config=global_config)
        
                config = Configurator(settings=settings)
                config.scan()
                return config.make_wsgi_app()
        
        and this is all you need (if you use paster ini files and pserv) to be able to use:
        
            $ pserv development.ini pysettings=settings.py,base.py,roman.py
        
        
        Warning
        -------
        
        Everything you see here is work in progress and should not be ever used in
        production (trust me - don't trust me). Contributions, critique, angry letters
        and such are welcome.
        
        
        Installation
        ------------
        
        Install with pip::
        
            $ pip install pyramid_settings
        
        Issues and questions
        --------------------
        
        Have a bug? Please create an issue on GitHub!
        
        https://github.com/niktto/pyramid_settings/issues
        
        
        Contributing
        ------------
        
        EasyEmail is an open source software and your contribution is very much
        appreciated.
        
        1. Check for
           `open issues https://github.com/niktto/pyramid_settings/issues or
           `open a fresh issue https://github.com/niktto/pyramid_settings/issues/new
           to start a discussion around a feature idea or a bug.
        2. Fork the
           `repository on Github https://github.com/niktto/pyramid_settings
           and make your changes.
        3. Follow these rules: PEP8, PEP257 and The
           Zen of Python.
        4. Make sure to add yourself to AUTHORS and send a pull request.
        
        
        Licence
        -------
        
        EasyEmail is available under the New BSD License. See
        LICENSE https://github.com/niktto/pyramid_settings/blob/master/LICENSE
        file.
Keywords: web pyramid pylons
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
