PostgreSQL database adapter for the Python programming language
Go to file
2010-11-05 09:34:49 +00:00
debian
doc Added two-phase commit docunetation. 2010-11-05 09:34:49 +00:00
examples
lib Added tpc_prepare and CONN_STATUS_PREPARED. 2010-11-05 09:34:48 +00:00
psycopg Raise NotSuppoertdError if tpc is used with PostgreSQL < 8.1 2010-11-05 09:34:49 +00:00
psycopg2da
sandbox
scripts
tests Dropped XID_UNPARSED: we use format_id = None for PG xact ids. 2010-11-05 09:34:49 +00:00
ZPsycopgDA
.gitignore
AUTHORS
ChangeLog hook up two phase commit tests. 2010-11-05 09:34:47 +00:00
INSTALL
LICENSE
Makefile
MANIFEST.in
NEWS-2.0
NEWS-2.2
psycopg2.cproj
psycopg2.sln
README
runtests.py
setup.cfg
setup.py Added connection.xid() and related objects. 2010-11-05 09:34:47 +00:00

psycopg2 - Python-PostgreSQL Database Adapter
********************************************

psycopg2 is a PostgreSQL database adapter for the Python programming
language. This is version 2, a complete rewrite of the original code to
provide new-style classes for connection and cursor objects and other
sweet candies. Like the original, psycopg2 was written with the aim of
being very small and fast, and stable as a rock.

psycopg2 is different from the other database adapter because it was
designed for heavily multi-threaded applications that create and destroy
lots of cursors and make a conspicuous number of concurrent INSERTs or
UPDATEs. psycopg2 also provide full asycronous operations for the really
brave programmer.

There are confirmed reports of psycopg 1.x compiling and running on Linux
and FreeBSD on i386, Solaris, MacOS X and win32 architectures. psycopg2
does not introduce build-wise incompatible changes so it should be able to
compile on all architectures just as its predecessor did.

Now go read the INSTALL file. More information about psycopg2 extensions to
the DBAPI-2.0 is available in the files located in the doc/ direcory.
Example code can be found in the examples/ directory. If you make any changes
to the code make sure to run the unit tests localed in tests/.

psycopg2 is free software ("free as in freedom" but I like beer too.)
It is licensed under the GNU Lesser General Public License, version 3 or
later plus an exception to allow OpenSSL (libpq) linking; see LICENSE for
more details.


Contributors
------------

A short list of contributors to psycopg2 follows (if you feel you belong
to this list and you can't find yourself here just drop me a mail):

 * Kudos to piro for all the documentation work.

 * Peter Fein contributed a logging connection/cursor class that even if it
   was not used directly heavily influenced the implementation currently in
   psycopg2.extras.