Pure Python interface to MySQL?

Gerhard Häring gh at ghaering.de
Tue Oct 7 16:06:37 CEST 2008

Gerhard Häring wrote:
> James Mills wrote:
>> On Tue, Oct 7, 2008 at 9:15 AM, Roy Smith <roy at panix.com> wrote:
>>> Does there exist a pure Python version of a MySQL module?  I've got a 
>>> data
>>> logging application that needs to run on a whole bunch of OSs, 
>>> ranging from
>>> Windows to a dozen different unix flavors on all sorts of hardware.
>>> Portability is much more important than performance for this 
>>> application.
>>> We're only inserting a few hundred records a day from each system, 
>>> but the
>>> ability to quickly deploy to anywhere I've already got Python running is
>>> key.
>> My solution (tm):
>> You could implement a proxy server/client
>> sub-system [...]
> Or instead of reinventing the wheel, you could use SQLRelay 
> (http://sqlrelay.sourceforge.net/), which has a pure-Python DB-API module.

Unfortunately, the Python interface for SQLRelay seems to include parts 
written in C. What a pity.

-- Gerhard

More information about the Python-list mailing list