Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   PyPyODBC 0.6 released! (A Pure Python ODBC module) (http://www.velocityreviews.com/forums/t947813-pypyodbc-0-6-released-a-pure-python-odbc-module.html)

07-04-2012 02:02 PM

PyPyODBC 0.6 released! (A Pure Python ODBC module)
 
PyPyODBC - A Pure Python ctypes ODBC module

Changes in version 0.6:
Added Cursor.commit() and Cursor.rollback(). It is now possible to use
only a cursor in your code instead of keeping track of a connection
and a cursor.

Added readonly keyword to connect. If set to True, SQLSetConnectAttr
SQL_ATTR_ACCESS_MODE is set to SQL_MODE_READ_ONLY. This may provide
better locking semantics or speed for some drivers.

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!
....


Homepage: http://code.google.com/p/pypyodbc/

Demo Script:

http://code.google.com/p/pypyodbc/so...pyodbc/test.py


All times are GMT. The time now is 01:01 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.