Pure Python interface to MySQL?

Gerhard Häring gh at ghaering.de
Tue Oct 7 06:36:02 EDT 2008


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.

-- Gerhard




More information about the Python-list mailing list