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


Groups > comp.lang.python > #27851

PyPyODBC 0.8 released (Pure Python ODBC module)

Path csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <jiangwen365@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'importing': 0.04; 'subject:Python': 0.05; 'pypy': 0.07; 'subject:released': 0.07; 'python': 0.09; 'pyodbc': 0.09; 'subject:module': 0.09; '<--': 0.16; 'connect.': 0.16; 'string': 0.17; 'module': 0.19; 'changes': 0.20; 'import': 0.21; 'ctypes': 0.22; 'script': 0.24; 'message-id:@mail.gmail.com': 0.27; 'fixed': 0.28; 'received:209.85.212': 0.28; 'changes:': 0.29; 'connection': 0.30; 'keyword': 0.30; 'compatible': 0.30; 'problem': 0.33; 'to:addr:python-list': 0.33; 'version': 0.34; 'received:google.com': 0.34; 'received:209.85': 0.35; 'totally': 0.36; 'method': 0.36; 'subject: (': 0.36; 'received:209': 0.37; 'comment': 0.38; 'object': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'from:charset:gb2312': 0.78
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=baicDqUkciq4ohli/cP+Xv84MIGLIwRB9JnlUXHPyJc=; b=Y17sKxMxcis2+RBnYMsK8dZju4z7Pf3+BGNynlL6PNfxDWDvnfhikRbuoW/hTUUqpj 3ES3J4i9WPH60VoBKo9IuWkuCyLfHN1KYsu7ZAkrefX0mhbs4hF1qw5TXRs1mq+C6th8 rmiRa3M+KGryqvmwyjtjfGlsRwun1w7zJmdMS6VPXcHRRVHxubeSkwMERx+nMI9LOOCs H/05NGMO9DZmQpx2buIfKsqYbVGSHP325tJL4wHAKtZSPywe6Uwo1hTlJbXngIZPK1LB k9gfQXZZrPsh0y9e2a9jgxQ2iAbTRLa2DHmK1l9zEZIG/2cuzx0wROEo+WHv/iDdPGCO Zdvw==
MIME-Version 1.0
Date Sat, 25 Aug 2012 13:29:30 +0800
Subject PyPyODBC 0.8 released (Pure Python ODBC module)
From 江文 <jiangwen365@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3786.1345872576.4697.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1345872576 news.xs4all.nl 6916 [2001:888:2000:d::a6]:38418
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:27851

Show key headers only | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web