This package was debianized by Fabio Tranchitella <kobold@debian.org> on
Sun, 16 Jul 2006 21:10:01 +0200.

psycopg2 can be downloaded from its homepage:

    http://initd.org/projects/psycopg

Copyright:

    Copyright (C) 2001-2015 Federico Di Gregorio <fog@debian.org>
    Copyright (C) 2010-2017 Daniele Varrazzo <daniele.varrazzo@gmail.com>

    For the files examples/copy_from.py and examples/copy_to.py:
        Copyright (C) 2001-2005 Federico Di Gregorio <fog@debian.org>
        Copyright (C) 2002 Tom Jenkins <tjenkins@devis.com>

    For the file psycopg/xid_type.c:
        Copyright (C) 2008 Canonical Ltd.

    For the files psycopg/xid.h, tests/test_connection.py, and
    tests/test_dates.py:
        Copyright (C) 2008-2011 James Henstridge <james@jamesh.id.au>

    For the files tests/test_cancel.py and tests/test_async.py
        Copyright (C) 2010-2011 Jan UrbaƄski  <wulczer@wulczer.org>

    For the file lib/errorcodes.py:
        Copyright (C) 2006-2010 Johan Dahlin  <jdahlin@async.com.br>

    For the files psycopg/error.h and psycopg/diagnostics.h
        Copyright (C) 2013 Matthew Woodcraft <matthew@woodcraft.me.uk>

    For the files doc/html/_static/*.js:
        Copyright 2007-2014 by the Sphinx team, see AUTHORS.

    For the files psycopg/solaris_support.*:
        Copyright (C) 2017 My Karlsson <mk@acc.umu.se>
        Copyright (c) 2018, Joyent, Inc.


License for psycopg2, ZPsycopgDA and psycopg2da:

psycopg2 is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

psycopg2 is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
License for more details.

In addition, as a special exception, the copyright holders give
permission to link this program with the OpenSSL library (or with
modified versions of OpenSSL that use the same license as OpenSSL),
and distribute linked combinations including the two.

You must obey the GNU Lesser General Public License in all respects for
all of the code used other than OpenSSL. If you modify file(s) with this
exception, you may extend this exception to your version of the file(s),
but you are not obligated to do so. If you do not wish to do so, delete
this exception statement from your version. If you delete this exception
statement from all source files in the program, then also delete it here.

You should have received a copy of the GNU Lesser General Public License
along with psycopg2 (see the doc/ directory.)
If not, see <http://www.gnu.org/licenses/>.

On Debian systems see /usr/share/common-licenses/LGPL-3 for details

Alternative licenses
====================

Also, the following BSD-like license applies (at your option) to the
files following the pattern psycopg/adapter*.{h,c} and
psycopg/microprotocol*.{h,c}:

 Permission is granted to anyone to use this software for any purpose,
 including commercial applications, and to alter it and redistribute it
 freely, subject to the following restrictions:

 1. The origin of this software must not be misrepresented; you must not
    claim that you wrote the original software. If you use this
    software in a product, an acknowledgment in the product documentation
    would be appreciated but is not required.

 2. Altered source versions must be plainly marked as such, and must not
    be misrepresented as being the original software.

 3. This notice may not be removed or altered from any source distribution.


License for the files tests/dbapi20.py and scripts/ext2html.py:

    These modules have been placed in the public domain.


doc/pep-0249.txt has been placed in the public domain

Copyright (c) The Regents of the University of California.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
   notice, this list of conditions and the following disclaimer.
2. 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.
3. Neither the name of the University 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 REGENTS 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 REGENTS 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.


License and copyright for doc/html/_static/doctools.js, sidebar.js,
searchtools.js, basic.css, websupport.js, and default.css
 * :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
 * :license: BSD, see LICENSE for details.

See above for full BSD license text