PyPyODBC 0.6 released! (A Pure Python ODBC module)

Discussion in 'Python' started by ½­ÎÄ, Jul 4, 2012.

  1. ½­ÎÄ

    ½­ÎÄ Guest

    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/source/browse/trunk/pypyodbc/test.py
    ½­ÎÄ, Jul 4, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. ½­ÎÄ
    Replies:
    0
    Views:
    271
    ½­ÎÄ
    Jun 15, 2012
  2. ½­ÎÄ
    Replies:
    0
    Views:
    178
    ½­ÎÄ
    Aug 25, 2012
  3. ½­ÎÄ
    Replies:
    0
    Views:
    178
    ½­ÎÄ
    Feb 3, 2013
  4. ½­ÎÄ
    Replies:
    0
    Views:
    184
    ½­ÎÄ
    Feb 21, 2013
  5. ½­ÎÄ
    Replies:
    0
    Views:
    168
    ½­ÎÄ
    Mar 10, 2013
Loading...

Share This Page