• This repository has been archived on 13/Oct/2023
  • Stars
    star
    115
  • Rank 304,154 (Top 7 %)
  • Language
    Python
  • License
    Other
  • Created over 12 years ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A DB-API compatible wrapper for umysql

umysqldb

A MySQLdb compatible wrapper around ultramysql.

Usage

>>> import umysqldb
>>> umysqldb.install_as_MySQLdb()
>>> import MySQLdb
>>> MySQLdb is umysqldb
True
>>> conn = MySQLdb.connect(host='localhost')
>>> curs = conn.cursor()
>>> curs.execute("select 1")
1
>>> curs.fetchone()
(1L,)
>>> conn.close()
Build Status