Non GPL Python MySQL Client Library.

Harry George at
Mon Jun 28 22:25:48 CEST 2004

Christopher T King <squirrel at WPI.EDU> writes:

> On Mon, 28 Jun 2004, Lothar Scholz wrote:
> > Hello i want to write a commerical small tool that must access a MySQL
> > database but i can't afford the License Fee for the original MySQL
> > driver. In the Ruby world there exist a small but working pure ruby
> > library that can be used without buying a license or putting your
> > application under the GPL. 
> > 
> > Is there anything like this in the Python world ?
> Libraries licensed under the GPL can be used without GPLing the code that 
> uses them - you only have to GPL any extensions you make to the library. 
> Assuming that works for you, you can use (GPLed) mysql-python:

Also note that the extensions have to be separate chunks of code, not
just derivatives of the original:

>From the GPL:
"These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote

"Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program."

-- at
6-6M21 BCA CompArch Design Engineering
Phone: (425) 342-0007

More information about the Python-list mailing list