[IronPython] Python DB-API wrapper for ADO.NET for IronPython

Sanghyeon Seo sanxiyn at gmail.com
Thu Mar 23 09:32:03 CET 2006


Hello,

I took a stub at writing Python DB-API (PEP 249) wrapper for ADO.NET
to be used with IronPython. Currently I am testing this with MySQL
Connector/Net and is trying to be compatible with MySQLdb module.

You can download MySQL Connector/Net from:
http://www.mysql.com/products/connector/net/

Unzip the download and copy MySql.Data.dll to the same directory as
your script. Other files are not needed.

Wrapper itself is here:
http://sparcs.kaist.ac.kr/~tinuviel/fepy/lib/dbapi.py

Currently implemented are connect() module level function, cursor()
and close() on connection class, and execute() and fetchall() on
cursor class. That's all.

I would appreciate your comments. Thanks!

Seo Sanghyeon



More information about the Ironpython-users mailing list