Download information

Current PyGreSQL versions

You can download PyGreSQL from the Python Package Index at
Linux RPM packages can be found attached to the GitHub release at
CentOS packages can be found on the site
Debian packages can be found at
FreeBSD packages are available in their ports collection
NetBSD packages are available in their pkgsrc collection
openSUSE packages are available through their build service at
Ubuntu packages are available from Launchpad at
Windows binaries (as wheels) are available at
Windows installers (EXE and MSI) are attached to the GitHub release at

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.2 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