Download information

Older PyGreSQL versions

You can look for older PyGreSQL versions at

News, Changes and Future Development

See the PyGreSQL Announcements for current news.

For a list of all changes in the current version 5.1 and in past versions, have a look at the ChangeLog.

The section on PyGreSQL Development and Support lists ideas for future developments and ways to participate.


Please read the chapter on Installation in our documentation.

Distribution files

pgmodule.c the main source file for the C extension module (_pg)
pgconn.c the connection object
pginternal.c internal functions
pglarge.c large object support
pgnotice.c the notice object
pgquery.c the query object
pgsource.c the source object
pgtypes.h PostgreSQL type definitions
py3c.h Python 2/3 compatibility layer for the C extension the “classic” PyGreSQL module a DB-SIG DB-API 2.0 compliant API wrapper for PygreSQL

the Python setup script

To install PyGreSQL, you can run “python install”.

setup.cfg the Python setup configuration

documentation directory

The documentation has been created with Sphinx. All text files are in ReST format; a HTML version of the documentation can be created with “make html”.

tests/ a suite of unit tests for PyGreSQL

Project home sites