[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#770889: ITP: python-pymysql -- Pure-Python MySQL driver



On 11/25/2014 02:20 PM, Brian May wrote:
> On 25 Nov 2014 09:24, "Thomas Goirand" <zigo@debian.org
> <mailto:zigo@debian.org>> wrote:
>>  This package contains a pure-Python MySQL client library. The goal of
> PyMySQL
>>  is to be a drop-in replacement for MySQLdb and work on CPython, PyPy,
>>  IronPython and Jython.
>>
>> This is yet another new dependency for OpenStack. Note that this
> package is
>> interesting because it has Python 3 support.
> 
> I assume you know about the alternatives for Python 3 support, but just
> in case, have a look at:
> 
> https://packages.debian.org/sid/python3-mysql.connector
> 
> Bug#768096: ITP: python-mysqlclient -- Python interface to MySQL
> http://bugs.debian.org/768096
> (Currently in new awaiting entry to experimental).
> 
> Just to confirm: this package doesn't appear to conflict with
> python-mysqldb, is that correct?

Correct, this is a different implementation. You'd import it with
"import pymysql" and not "import mysqldb".

I know about other implementations, though that one is a dependency for
newer code in OpenStack.

Cheers,

Thomas Goirand (zigo)


Reply to: