The Artima Developer Community
Sponsored Link

Python Buzz Forum
What would be cool: pure-Python database drivers

1 reply on 1 page. Most recent reply: Apr 26, 2006 4:30 AM by Ron Smith

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Phillip Pearson

Posts: 1083
Nickname: myelin
Registered: Aug, 2003

Phillip Pearson is a Python hacker from New Zealand
What would be cool: pure-Python database drivers Posted: Nov 17, 2004 9:55 PM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Phillip Pearson.
Original Post: What would be cool: pure-Python database drivers
Feed Title: Second p0st
Feed URL: http://www.myelin.co.nz/post/rss.xml
Feed Description: Tech notes and web hackery from the guy that brought you bzero, Python Community Server, the Blogging Ecosystem and the Internet Topic Exchange
Latest Python Buzz Posts
Latest Python Buzz Posts by Phillip Pearson
Latest Posts From Second p0st

Advertisement

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.

Comment

Read: What would be cool: pure-Python database drivers


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
Reply to this message Reply
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.

Flat View: This topic has 1 reply on 1 page
Topic: Our own Plone Newspaper sprint (sort of) Previous Topic   Next Topic Topic: Will Ruby and Rails save my IT Department?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use