PostgreSQL database adapter for the Python programming language
Go to file
Jason Erickson 2997c0eb6c Windows MSVC: 64bit compiler sees 2 export symbols
The MSVC compiler sees a request for the main symbol (init__pyscopg) to be
exported twice during the build process and issues a warning in 64bit mode.
One symbol is from distutils exporting the library with the
build_ext.get_export_symbols() function, the other is from the #define
PyMODINIT_FUNC (define in pyport.h) that begins the main _psycopg module.
This patch overrides the get_export_symbols function and returns an empty
array of symbols to export if the compiler is MSVC.
2011-02-25 10:25:12 +00:00
debian Update debian packaging files. 2008-05-12 15:33:10 +08:00
doc Raise an exception if the libpq fails to decode bytea in hex format 2011-02-23 14:04:27 +00:00
examples Fixed documentation and example for asynchronous notifications. 2010-04-21 15:09:13 +01:00
lib Added oid parameter to register_hstore() 2011-02-21 01:29:53 +00:00
psycopg Windows MSVC: Fixed warning of incompatible types 2011-02-25 10:25:12 +00:00
psycopg2da License change for psycopg2da 2010-02-14 01:23:57 +01:00
sandbox Fixed error related to calling C typecasters from Python ones 2010-05-15 19:34:56 +02:00
scripts Replace b('str') with b'str' in Python 3 2011-01-13 11:37:40 +00:00
tests Raise an exception if the libpq fails to decode bytea in hex format 2011-02-23 14:04:27 +00:00
ZPsycopgDA Bumped to 2.4 beta2 2011-02-12 20:19:14 +00:00
.gitignore Added flesh to the Makefile. 2010-11-13 19:45:45 +00:00
AUTHORS Preparing release 2.3.0-beta1 2010-11-06 15:50:39 +01:00
ChangeLog Merge branch 'python2' into python3 2011-01-01 17:14:54 +01:00
INSTALL Added instructions about running tests and building docs. 2010-11-20 01:14:41 +00:00
LICENSE Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
Makefile Merge branch 'python2' into python3 2011-01-02 03:28:00 +01:00
MANIFEST.in Fixed reference to NEWS file in the manifest 2011-02-15 12:29:14 +00:00
NEWS Raise an exception if the libpq fails to decode bytea in hex format 2011-02-23 14:04:27 +00:00
psycopg2.cproj Preparing release 2.3.0-beta1 2010-11-06 15:50:39 +01:00
psycopg2.sln Fixed problem with decimal.Decimal conversions 2010-02-21 01:04:00 +01:00
README Dropped references to psycopg 1 from readme and install. 2010-11-20 01:14:05 +00:00
setup.cfg Dropped support for protocol 2. 2010-11-16 01:08:50 +00:00
setup.py Windows MSVC: 64bit compiler sees 2 export symbols 2011-02-25 10:25:12 +00:00

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

psycopg2 is a PostgreSQL database adapter for the Python programming
language.  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 and support
for coroutine libraries.

psycopg2 can compile and run on Linux, FreeBSD, Solaris, MacOS X and
Windows architecture. It supports Python versions from 2.4 onwards and
PostgreSQL versions from 7.4 onwards.

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.

Documentation
-------------

Start by reading 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/.

Online documentation can be found at: http://initd.org/psycopg/

If you stumble upon any bugs, please tell us at: http://psycopg.lighthouseapp.com/

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

For a list of contributors to the project, see the AUTHORS file.