Mysql's mysql module

2013-10-07 Thread Tobiah

I just noticed this:


http://dev.mysql.com/doc/connector-python/en/index.html


What are the thoughts on this vs. the MySQLdb with which
I'm familiar?

I also noticed MySQLdb2.  I was wondering whether to use
this version on a new project that is likely to take some
months to develop.

Thanks,

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


Re: Mysql's mysql module

2013-10-07 Thread Skip Montanaro
On Mon, Oct 7, 2013 at 1:08 PM, Tobiah t...@tobiah.org wrote:
 I just noticed this:


 http://dev.mysql.com/doc/connector-python/en/index.html

* Does it adhere to the Python database API?
http://www.python.org/dev/peps/pep-0249/

* Is source available?

* Does it have a reasonable open source license?

These questions come immediately to mind because at work we briefly
considered, then rejected, a similar offering from the Sybase folks
for connecting to (big surprise) Sybase. We never needed to ask the
first and third questions, because the answer to the second was, no,
and they only offered a version built against Python 2.6. Since we use
Python 2.4 and 2.7, that was an immediate nonstarter.

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


Re: Mysql's mysql module

2013-10-07 Thread Duncan Booth
Skip Montanaro s...@pobox.com wrote:

 On Mon, Oct 7, 2013 at 1:08 PM, Tobiah t...@tobiah.org wrote:
 I just noticed this:


 http://dev.mysql.com/doc/connector-python/en/index.html
 
 * Does it adhere to the Python database API?
 http://www.python.org/dev/peps/pep-0249/
 
 * Is source available?
 
 * Does it have a reasonable open source license?
 
 These questions come immediately to mind because at work we briefly
 considered, then rejected, a similar offering from the Sybase folks
 for connecting to (big surprise) Sybase. We never needed to ask the
 first and third questions, because the answer to the second was, no,
 and they only offered a version built against Python 2.6. Since we use
 Python 2.4 and 2.7, that was an immediate nonstarter.
 
 Skip

Based on a quick look at the link given, I think the answers to questions 1 
and 3 are yes and no respectively. No idea about #2.

-- 
Duncan Booth http://kupuguy.blogspot.com
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Mysql's mysql module

2013-10-07 Thread Chris “Kwpolska” Warrick
On Oct 7, 2013 9:36 PM, Duncan Booth duncan.booth@invalid.invalid wrote:

 Skip Montanaro s...@pobox.com wrote:

  On Mon, Oct 7, 2013 at 1:08 PM, Tobiah t...@tobiah.org wrote:
  I just noticed this:
 
 
  http://dev.mysql.com/doc/connector-python/en/index.html
 
  * Does it adhere to the Python database API?
  http://www.python.org/dev/peps/pep-0249/
 
  * Is source available?
 
  * Does it have a reasonable open source license?
 
  These questions come immediately to mind because at work we briefly
  considered, then rejected, a similar offering from the Sybase folks
  for connecting to (big surprise) Sybase. We never needed to ask the
  first and third questions, because the answer to the second was, no,
  and they only offered a version built against Python 2.6. Since we use
  Python 2.4 and 2.7, that was an immediate nonstarter.
 
  Skip

 Based on a quick look at the link given, I think the answers to questions
1
 and 3 are yes and no respectively. No idea about #2.

Number two is yes, unless there are deceptive statements on that page.

 --
 Duncan Booth http://kupuguy.blogspot.com
 --
 https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list