473,404 Members | 2,170 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Recommendations for a PostgreSQL db adapter, please?

Hello,

I am currently using psycopg 2 as my db adapter for a mod_python &
PostgreSQL web app. It's works fine, and I haven't any complaints. I
would appreciate some input on what other pythonistas like in an
adapter. There were several different options available to me, but there
was no particular informed reason for me to choose psycopg. Am I missing
anything?

~ Anthony
Apr 29 '06 #1
3 1520
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Keen Anthony wrote:
Hello,

I am currently using psycopg 2 as my db adapter for a mod_python &
PostgreSQL web app. It's works fine, and I haven't any complaints. I
would appreciate some input on what other pythonistas like in an
adapter. There were several different options available to me, but there
was no particular informed reason for me to choose psycopg. Am I missing
anything?


Considering pyPgSQL, psycopg1, PyGreSQL and psycopg2 - psycopg2 is a good
choice.

There's also interesting development happening here:
http://python.projects.postgresql.org/ - but it seems to be in the midst of
development.

- -- Gerhard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEU17XdIO4ozGCH14RAsQyAKCS5opydZzciB8bCDbKqD WTLWeRHgCgmLpQ
e40YgQmGCJfApvBNSVYX5kk=
=L1El
-----END PGP SIGNATURE-----
Apr 29 '06 #2
Gerhard Häring wrote:
Keen Anthony wrote:
Hello,

I am currently using psycopg 2 as my db adapter for a mod_python &
PostgreSQL web app. It's works fine, and I haven't any complaints. I
would appreciate some input on what other pythonistas like in an
adapter. There were several different options available to me, but there
was no particular informed reason for me to choose psycopg. Am I missing
anything?


Considering pyPgSQL, psycopg1, PyGreSQL and psycopg2 - psycopg2 is a good
choice.


Hmmm, Gerhard, you are listed as one of two developers for pyPgSQL on
SourceForge ( http://sourceforge.net/projects/pypgsql/ ). The fact that
you are recommending a different DB adaptor project suggests a degree of
disengagement with pyPgSQL. Is Billy G. Allie still interested in
pyPgSQL, or is it now completely unloved? If so, then perhaps some new
maintainers can be found for it - several projects rely on pyPgSQL,
including ours ( http://sourceforge.net/projects/netepi/ ) - for which
we currently need to provide our own pyPgSQL tarball rolled from CVS
plus some of our own minor but important patches - which were submitted
for consideration but have not (AFAIK) been checked into the pyPgSQL
CVS. The latest tarball for pyPgSQl available from the pyPgSQL
SourceForge pages is dated 2003.

No criticism is intended in any of the foregoing observations - it is
inevitable that people move on to new projects (such as pySQLite), but
it would be a shame if pyPgSQL just rotted, because it has several
things in its favour, such as some unit tests (which were conspicuously
absent from any of the alternatives when we evaluated them in 2003 -
perhaps they have been added by now). Overall we have found pyPgSQL to
be very reliable.

Tim C

Apr 29 '06 #3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tim Churches wrote:
Gerhard Häring wrote:
[...] Considering pyPgSQL, psycopg1, PyGreSQL and psycopg2 - psycopg2 is a good
choice.
Hmmm, Gerhard, you are listed as one of two developers for pyPgSQL on
SourceForge ( http://sourceforge.net/projects/pypgsql/ ). The fact that
you are recommending a different DB adaptor project suggests a degree of
disengagement with pyPgSQL.


It's not that I'd now say that pyPgSQL is bad software, but as you say it
didn't see a lot of maintenance the last two years, and AFAIK this won't
change anytime soon.

With the last release, it was pretty much feature complete, and Billy G.
Allie and me were talking about a rewrite of many parts in C for increased
performance, and for taking advantage of the new PostgreSQL API. I told him
that I was unfortunately too busy with other things to contribute
significantly to pyPgSQL. I see myself more as a helper for pyPgSQL nowadays.
Is Billy G. Allie still interested in pyPgSQL, or is it now completely
unloved?
AFAIK he is still interested and committing fixes to the current codebase
now and then and working on the rewrite.

I don't know, however, if there's a plan for the long overdue maintenance
release to the last release from 2003.
If so, then perhaps some new maintainers can be found for it [...]
I'll just cc Billy so he can comment :-)
- several projects rely on pyPgSQL,
including ours ( http://sourceforge.net/projects/netepi/ ) - for which
we currently need to provide our own pyPgSQL tarball rolled from CVS
plus some of our own minor but important patches - which were submitted
for consideration but have not (AFAIK) been checked into the pyPgSQL
CVS. The latest tarball for pyPgSQl available from the pyPgSQL
SourceForge pages is dated 2003.

No criticism is intended in any of the foregoing observations - it is
inevitable that people move on to new projects (such as pySQLite), but
it would be a shame if pyPgSQL just rotted, because it has several
things in its favour, such as some unit tests (which were conspicuously
absent from any of the alternatives when we evaluated them in 2003 -
perhaps they have been added by now). Overall we have found pyPgSQL to
be very reliable.


- -- Gerhard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEU3l/dIO4ozGCH14RAm7uAJ9AE5TnPvDL6Ic0z6Cf+QSSlkWnRwCgir dy
TQnyqOyWMGX2KbGE+gFKIZU=
=cTbz
-----END PGP SIGNATURE-----
Apr 29 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Scott Holmes | last post by:
I've yet to write anything worthwhile with Python, but I have been working my way through the O'Reilly books and scanning this list. I am considering porting a legal case management system to...
2
by: Ian S. Nelson | last post by:
What's the current state of Python and PostgreSQL? There is PoPy, PygreSQL and PsycoPG, maybe others? PygreSQL was part of the PostgreSQL tree, now it's not. What's up with it? Then a Zope...
11
by: Dennis Gearon | last post by:
Anyone got links to good db server boxes, not rackmount though? Include any for HP, Gateway, etc. -- "You are behaving like a man", is an insult from some women, a compliment from a good...
1
by: phil campaigne | last post by:
On Mon, 1 Mar 2004, phil campaigne wrote: >> Nigel J. Andrews wrote: >> > > >>> >On Mon, 1 Mar 2004, Phil Campaigne wrote: >>> > >>> >
3
by: Francois Suter | last post by:
Hi all, I have received via the Advocacy questions about optimising a database server using PostgreSQL. The people asking the questions are planning to buy a new machine, solely dedicated to...
6
by: Andy | last post by:
Someone posted this official proposal to create comp.databases.postgresql.general again. He wrote his own charter. As far as I know, he did not consult any of the postgresql groups first. There...
1
by: cindy | last post by:
this is the call private void Page_Load(object sender, System.EventArgs e) { OdbcConnection connection = new OdbcConnection ("DSN=PFW52"); CreateDataAdapter(connection); } this is the code,...
0
by: kleinhans | last post by:
Hi netters, I am used in MYSQL + PHP. Sometimes POSTGRESQL + PYTHON/ZOPE was used. Now I have to build a bibliography system that stores a lot of XML-Files and I am not quite sure wether it is...
3
by: Hussein B | last post by:
Hey, Which Adapter to use with PostgreSQL: PyPgSQL, psycopg or PyGreSQL? Thanks.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.