Confusion over Python drivers

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Confusion over Python drivers
Дата
Msg-id 201002051419.o15EJQq13457@momjian.us
обсуждение исходный текст
Ответы Re: Confusion over Python drivers  ("Massa, Harald Armin" <chef@ghum.de>)
Re: Confusion over Python drivers  (Peter Eisentraut <peter_e@gmx.net>)
Re: Confusion over Python drivers  (Tim Bunce <Tim.Bunce@pobox.com>)
Re: Confusion over Python drivers  (Greg Smith <greg@2ndquadrant.com>)
Re: Confusion over Python drivers  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-hackers
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
attention.

First, the sheer number of libraries is confusing.  This is the page
from the Postgres wiki:
http://wiki.postgresql.org/wiki/Python

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
applications?

The next one, PyGreSQL, is BSD licensed, but only has documentation for
the "classic" interface.  The DB-API module says about documentation:
http://www.pygresql.org/pgdb.html
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:
http://wiki.python.org/moin/PostgreSQL

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  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Martin Pihlak
Дата:
Сообщение: Failed assertion during recovery of partial WAL file
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Personal Copyright Notices