Thread: which Python interface
hi, at www.python.org I found at least 3 python interfaces for postgresql. can anybody give me some hints, which one to choose? I saw that at least one of these is written in C, so this maybe the fastet. thanks a lot for any hint! regards markus _______________________________________________________________________ Ihre Aktien, Fonds und Optionsscheine - personalisiert auf einen Blick! Professionell, kompakt und einfach: http://boerse.web.de
On Wed, 4 Jul 2001 14:56:34 +0000 (UTC), markus jais <mjais@web.de> wrote: > hi, > at www.python.org I found at least 3 python interfaces > for postgresql. > can anybody give me some hints, which one to choose? > I saw that at least one of these is written in C, so > this maybe the fastet. > I have not done any benchmarking, but I can tell you that I use pygresql and psycopg. pygresql I use with python in general, and psycopg I use with Zope (I read somewhere that it is designed to work well in that threaded environment...) Probably they are all wrappers around libpq, and there will not be huge differences in performance. For me the choice was mostly by what was easy to install and use.
--- markus jais <mjais@web.de> wrote: > hi, > at www.python.org I found at least 3 python interfaces > for postgresql. > can anybody give me some hints, which one to choose? > I saw that at least one of these is written in C, so > this maybe the fastet. I researched all three modules and I would say that PoPy (http://sourceforge.net/projects/popy) it is the best module available at this time. It is written in C, DB-API 2.0 compliant, and thread safe. You cannot get much better than that. Brent __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/