Postgresql - Preferred Python Library

Tim Roberts timr at probo.com
Sat Sep 11 02:04:15 EDT 2004


Cliff Wells <clifford.wells at comcast.net> wrote:
>On Thu, 2004-09-09 at 16:21, Graeme Matthew wrote:
>> 
>> I have noticed that there are a numbe rof client libraries for connecting to 
>> Postgres.
>> 
>> Can anyone tell me what is the recommended Python library for database 
>> connections
>
>I'd strongly recommend psycopg.  I've used both psycopg and the pgsql
>module and found psycopg to be much more stable. 

So have I, and I wish I could quantify the difference.  It's not like
pyPgSQL crashes on me every day, but there's something intangible about
psycopg that appeals to me.  I've switched to it everywhere.
-- 
- Tim Roberts, timr at probo.com
  Providenza & Boekelheide, Inc.



More information about the Python-list mailing list