Version 4.0
:: PostgreSQL module for Python ::

PyGreSQL – PostgreSQL module for Python

PyGreSQL is an open-source Python module that interfaces to a PostgreSQL database. It embeds the PostgreSQL query library to allow easy use of the powerful PostgreSQL features from a Python script.

This software is copyright © 1995, Pascal Andre.
Further modifications are copyright © 1997-2006 by D'Arcy J.M. Cain.

See the copyright notice for detailed information.


The following information is also available in the docs folder of the distribution:

CVS Access

The CVS repository is available through CVSWeb.

Mailing list

You can join the mailing list to discuss future development of the PyGreSQL interface. This is usually a low volume list except when there are new features being added.


I am starting to collect examples of applications that use PyGreSQL. So far I only have a few but if you have an example for me, you can either send me the files or the URL for me to point to.

Here is a List of motorcycle rides in Ontario that uses a PostgreSQL database to store the rides. There is a link at the bottom of the page to view the source code.

Oleg Broytmann has written a simple example RGB database demo.