Re: What is the state of MySQL support for Python 3?

2014-06-27 Thread Egon Frerich
Am 24.06.2014 10:21, schrieb haiz...@gmail.com:
 Good day,
 
 I'm starting a new project from scratch so I think its finally a time to 
 switch to the latest and greatest Python 3.4.
 
 But I'm puzzled with MySQL support for Python 3. So far the only stable 
 library I've found it pymysql.
 
 All others are either abandoned work-in-progress projects or do not support 
 Python 3:
   * mysqldb - Python 2.x only
   * mysql-ctypes - Python 2.x only
   * amysql - Python 2.x only
   * ultramysql - Python 2.x only
   * MySQL Connector/Python - new guy in block. Does anyone use it?
   * WebScaleSQL + MySQLdb1 [1] - still in development, state unknown?
   * etc...
 
 So what library do you use for MySQL access in Python 3?
 I'm specifically interested in async support (like in psycopg2 for 
 PostgreSQL) since I'm planning to use Tornado.
 
 Thanks,
 Zaar
 
 [1] https://github.com/farcepest/MySQLdb1 
 
 https://code.facebook.com/posts/1474977139392436/webscalesql-a-collaboration-to-build-upon-the-mysql-upstream/
 
 http://www.percona.com/live/mysql-conference-2014/sessions/asynchronous-mysql-how-facebook-queries-databases
 

I have installed:

Metadata-Version: 1.1
Name: MySQL-python
Version: 1.2.3
Summary: Python interface to MySQL
Home-page: http://sourceforge.net/projects/mysql-python
Author: Andy Dustman
Author-email: adust...@users.sourceforge.net
License: GPL
Download-URL:
http://osdn.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.3.tar.gz

E.



smime.p7s
Description: S/MIME Cryptographic Signature
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: What is the state of MySQL support for Python 3?

2014-06-24 Thread Bernd Nawothnig
On 2014-06-24, haiz...@gmail.com wrote:
 I'm starting a new project from scratch so I think its finally a time
 to switch to the latest and greatest Python 3.4.

 But I'm puzzled with MySQL support for Python 3. So far the only
 stable library I've found it pymysql.

 All others are either abandoned work-in-progress projects or do not
 support Python 3:
   * mysqldb - Python 2.x only
   * mysql-ctypes - Python 2.x only
   * amysql - Python 2.x only
   * ultramysql - Python 2.x only
   * MySQL Connector/Python - new guy in block. Does anyone use it?

Yes. It comes directly from MySQL and is written in pure Python. For
that it may not be the fastest solution but it works.

Tested with Python 3.2




Bernd

-- 
no time toulouse
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: What is the state of MySQL support for Python 3?

2014-06-24 Thread Chris Angelico
On Tue, Jun 24, 2014 at 6:21 PM,  haiz...@gmail.com wrote:
 I'm starting a new project from scratch so I think its finally a time to 
 switch to the latest and greatest Python 3.4.

 But I'm puzzled with MySQL support for Python 3.

Is it completely from scratch? Can you just use PostgreSQL? It's *so*
much better...

Sorry, I can't advise on MySQL bindings. Haven't used any of the
modules in three parts of forever.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: What is the state of MySQL support for Python 3?

2014-06-24 Thread haizaar
On Tuesday, June 24, 2014 12:48:14 PM UTC+3, Chris Angelico wrote:
 
 Is it completely from scratch? Can you just use PostgreSQL? It's *so*
 
 much better...
The project is, but the database isn't. So MySQL it is.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: What is the state of MySQL support for Python 3?

2014-06-24 Thread INADA Naoki
Hi.

PyMySQL -- pure Python MySQL connector. Supports Python 3.3~.
mysqlclient -- Fork of MySQLdb. Supports Python 3.3~.

On Tue, Jun 24, 2014 at 5:21 PM,  haiz...@gmail.com wrote:
 Good day,

 I'm starting a new project from scratch so I think its finally a time to 
 switch to the latest and greatest Python 3.4.

 But I'm puzzled with MySQL support for Python 3. So far the only stable 
 library I've found it pymysql.

 All others are either abandoned work-in-progress projects or do not support 
 Python 3:
   * mysqldb - Python 2.x only
   * mysql-ctypes - Python 2.x only
   * amysql - Python 2.x only
   * ultramysql - Python 2.x only
   * MySQL Connector/Python - new guy in block. Does anyone use it?
   * WebScaleSQL + MySQLdb1 [1] - still in development, state unknown?
   * etc...

 So what library do you use for MySQL access in Python 3?
 I'm specifically interested in async support (like in psycopg2 for 
 PostgreSQL) since I'm planning to use Tornado.

 Thanks,
 Zaar

 [1] https://github.com/farcepest/MySQLdb1
 
 https://code.facebook.com/posts/1474977139392436/webscalesql-a-collaboration-to-build-upon-the-mysql-upstream/
 
 http://www.percona.com/live/mysql-conference-2014/sessions/asynchronous-mysql-how-facebook-queries-databases

 --
 https://mail.python.org/mailman/listinfo/python-list



-- 
INADA Naoki  songofaca...@gmail.com
-- 
https://mail.python.org/mailman/listinfo/python-list