Best python postgres module?

R

Roland Heiber

Hi,

i recently migrated from mysql to postgresql and did use severel python
postgres-modules. All do what they are designed for, so which one would
you use? psycopg, pygresql, pypgsql? psycopg seems to be the best
solution for heavy traffic/multiple connections .... i have no real
testing environment, so any advice which one to use for different
usecases would be nice.

Thanks, Roland
 
D

Dave Brueck

Roland said:
i recently migrated from mysql to postgresql and did use severel python
postgres-modules. All do what they are designed for, so which one would
you use? psycopg, pygresql, pypgsql? psycopg seems to be the best
solution for heavy traffic/multiple connections .... i have no real
testing environment, so any advice which one to use for different
usecases would be nice.

Hi Roland,

We've been using psycopg (via Zope and straight Python programs) for about a
year and haven't had any problems at all. We don't store much binary data so I
don't know how well psycopg handles blobs and what-not, but performance and
reliability has been fine.

I have no idea how psycopg stacks up against the others; in the end we chose it
because the project appeared to be active, it was easy enough to set up, and a
few test scripts we made all worked (how's that for rigorous evaluation? ;-) ).

HTH,
Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,710
Latest member
bernietqt

Latest Threads

Top