Skip site navigation (1) Skip section navigation (2)

Re: Python interfaces

From: Cristian Gafton <gafton(at)rpath(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Cc: sdavis2(at)mail(dot)nih(dot)gov
Subject: Re: Python interfaces
Date: 2006-09-18 10:02:52
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
On Fri, 15 Sep 2006, D'Arcy J.M. Cain wrote:

>> I am in the process of moving development from perl to python.  Under perl,
>> there was DBI, the be-all-end-all of database interfaces.  Under python,
>> there is a plethora of options.  Is there a recommended one for postgres?  It
>> will be mainly used in a web environment, so the ability to work
>> asynchronously is not that important.  I am interested in maintaining
>> database introspection (which the DB-API 2.0 is conspicuously short on)
>> tools, as well as niceties such as automatic escape-quoting, etc, that are
>> pretty standard in perl.  Any suggestions?
> I maintain PyGreSQL which used to be the one shipped with PostgreSQL
> before we split it off into a separate project.

I maintain a further split from PyGreSQL that supports native bind 
parameters and prepared statements at:
(using bind parameters eliminates many worries about escape quoting...)

Cristian Gafton
rPath, Inc.

In response to


pgsql-interfaces by date

Next:From: D'Arcy J.M. CainDate: 2006-09-18 15:07:28
Subject: Re: Python interfaces
Previous:From: Adriaan van OsDate: 2006-09-18 07:51:34
Subject: Re: Progress of asynchronous queries

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group