Metadata-Version: 1.1
Name: sprockets.clients.postgresql
Version: 1.0.0
Summary: PostgreSQL client library wrapper providing environment variable based configuration
Home-page: https://github.com/sprockets/sprockets.clients.postgresql.git
Author: AWeber Communications
Author-email: api@aweber.com
License: Copyright (c) 2014 AWeber Communications
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 Sprockets 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 THE COPYRIGHT HOLDER OR CONTRIBUTORS 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: sprockets.clients.postgresql
        ============================
        The ``sprockets.clients.postgresql`` package wraps the
        `Queries <http://queries.readthedocs.org>`_ package providing environment
        variable based configuration for connecting to PostgreSQL.
        
        |Version| |Downloads| |Status| |Coverage| |License|
        
        Installation
        ------------
        sprockets.clients.postgresql is available on the
        `Python Package Index <https://pypi.python.org/pypi/sprockets.clients.postgresql>`_
        and can be installed via ``pip`` or ``easy_install``:
        
        .. code:: bash
        
          pip install sprockets.clients.postgresql
        
        Documentation
        -------------
        https://sprocketsclientspostgresql.readthedocs.org
        
        Requirements
        ------------
        -  `queries <https://github.com/gmr/queries>`_
        -  `sprockets <https://github.com/sprockets/sprockets>`_
        
        Example
        -------
        The following example sets the environment variables for connecting to
        PostgreSQL on localhost to the ``postgres`` database and issues a query.
        
        .. code:: python
        
            import os
        
            from sprockets.clients import postgresql
        
            os.environ['POSTGRES_HOST'] = 'localhost'
            os.environ['POSTGRES_USER'] = 'postgres'
            os.environ['POSTGRES_PORT'] = 5432
            os.environ['POSTGRES_DBNAME'] = 'postgres'
        
            session = postgresql.Session('postgres')
            result = session.query('SELECT 1')
            print(repr(result))
        
        Version History
        ---------------
        Available at https://sprocketsclientspostgresql.readthedocs.org/en/latest/history.html
        
        .. |Version| image:: https://badge.fury.io/py/sprockets.clients.postgresql.svg?
           :target: http://badge.fury.io/py/sprockets.clients.postgresql
        
        .. |Status| image:: https://travis-ci.org/sprockets/sprockets.clients.postgresql.svg?branch=master
           :target: https://travis-ci.org/sprockets/sprockets.clients.postgresql
        
        .. |Coverage| image:: https://img.shields.io/coveralls/sprockets/sprockets.clients.postgresql.svg?
           :target: https://coveralls.io/r/sprockets/sprockets.clients.postgresql
        
        .. |Downloads| image:: https://pypip.in/d/sprockets.clients.postgresql/badge.svg?
           :target: https://pypi.python.org/pypi/sprockets.clients.postgresql
        
        .. |License| image:: https://pypip.in/license/sprockets.clients.postgresql/badge.svg?
           :target: https://sprocketsclientspostgresql.readthedocs.org
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
