|| ||Bruce Momjian <bruce-AT-momjian.us> |
|| ||PostgreSQL-development <pgsql-hackers-AT-postgreSQL.org> |
|| ||Confusion over Python drivers |
|| ||Fri, 5 Feb 2010 09:19:26 -0500 (EST)|
|| ||Article, Thread
My son has brought to my attention that our current crop of Python
client libraries is inadequate/confusing. I took a look myself, and
asked on our IRC channel, and am now convinced this area needs
First, the sheer number of libraries is confusing. This is the page
from the Postgres wiki:
The first one listed, Psycopg, is noted as "preferred libpq-based
driver", but the license is GPL. Isn't that a problem for many client
The next one, PyGreSQL, is BSD licensed, but only has documentation for
the "classic" interface. The DB-API module says about documentation:
This section of the documentation still needs to be written.
The other three are pure Python drivers, which I guess can be good, but
why three, and then there are three more listed as "obsolete/stalled".
Clearly something is wrong here.
The Python-hosted PostgreSQL page has similar problems:
Does Perl have a similar mess?
While I realize experienced people can easily navigate this confusion, I
am concerned about new Postgres adopters being very confused by this and
it is hurting our database adoption in general.
What is really needed is for someone to take charge of one of these
projects and make a best-of-breed Python driver that can gain general
acceptance as our preferred driver. I feel Python is too important a
language to be left in this state.
Bruce Momjian <email@example.com> http://momjian.us
+ If your life is a hard drive, Christ can be your backup. +
Sent via pgsql-hackers mailing list (firstname.lastname@example.org)
To make changes to your subscription:
to post comments)