Ron Smith
Posts: 1
Nickname: rksmith
Registered: Apr, 2006
|
|
Re: What would be cool: pure-Python database drivers
|
Posted: Apr 26, 2006 4:30 AM
|
|
Basically, python is stuck where Java was in its infancy -- using an ODBC bridge or some thin hybrid layer of the drivers for C. Both require a lot of extra setup and ties you to a limited set of environments (for example, try accessing a DB2 database from a Mac using python).
The performance will come with time. Right now, this a one of the major limitations of the python language which keeps forcing me to fall back to Java.
> Not necessarily sensible, or desirable, but quite > handy: say, a PostgreSQL client written entirely in > Python. So I could include it in PyCS, or require it as a > pre-requisite, without making everyone using PyCS download > and compile Postgres when they probably have it already > installed. > > Either that or I should make PyCS install like every > other Python project, i.e. using setup.py, so > people with decent package managers (i.e. Debian users) > can use the OS-provided Postgres and client, and everyone > else can compile from source, i.e. what they'd have to do > anyway.
|
|