½
½ÎÄ
PyPyODBC - A Pure Python ctypes ODBC module
Changes in version 0.8:
Added the getinfo() method to the connection object
Changes in version 0.7:
Fixed the ntext/nchar/nvarchar string truncat problem
Changes in version 0.6:
Added Cursor.commit() and Cursor.rollback().
Added readonly keyword to connect.
Features
- Pure Python, compatible with PyPy (tested on Win32)
- Almost totally same usage as pyodbc
You can simply try pypyodbc in your existing pyodbc powered script
with the following changes:
#import pyodbc <-- Comment out
the original pyodbc importing line
import pypyodbc as pyodbc # Let pypyodbc "pretend" the pyodbc
pyodbc.connect(...) # This is pypyodbc
pretending pyodbc! They have same APIs!
....
Changes in version 0.8:
Added the getinfo() method to the connection object
Changes in version 0.7:
Fixed the ntext/nchar/nvarchar string truncat problem
Changes in version 0.6:
Added Cursor.commit() and Cursor.rollback().
Added readonly keyword to connect.
Features
- Pure Python, compatible with PyPy (tested on Win32)
- Almost totally same usage as pyodbc
You can simply try pypyodbc in your existing pyodbc powered script
with the following changes:
#import pyodbc <-- Comment out
the original pyodbc importing line
import pypyodbc as pyodbc # Let pypyodbc "pretend" the pyodbc
pyodbc.connect(...) # This is pypyodbc
pretending pyodbc! They have same APIs!
....