Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #27851 > unrolled thread

PyPyODBC 0.8 released (Pure Python ODBC module)

Started by江文 <jiangwen365@gmail.com>
First post2012-08-25 13:29 +0800
Last post2012-08-25 13:29 +0800
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  PyPyODBC 0.8 released (Pure Python ODBC module) 江文 <jiangwen365@gmail.com> - 2012-08-25 13:29 +0800

#27851 — PyPyODBC 0.8 released (Pure Python ODBC module)

From江文 <jiangwen365@gmail.com>
Date2012-08-25 13:29 +0800
SubjectPyPyODBC 0.8 released (Pure Python ODBC module)
Message-ID<mailman.3786.1345872576.4697.python-list@python.org>
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!
...

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web