Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 567 Bytes

README.rst

File metadata and controls

30 lines (23 loc) · 567 Bytes

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