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


Groups > comp.lang.python > #39422

PyPyODBC 1.0 (Pure Python ODBC) released with Python 3.3 support

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!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; 'subject:Python': 0.05; 'cpython': 0.05; 'pypy': 0.07; 'subject:released': 0.07; 'url:blog': 0.09; 'python': 0.09; 'compression': 0.09; 'pyodbc': 0.09; 'script,': 0.09; 'url:pypy': 0.09; '2.7': 0.13; 'skip:p 40': 0.15; 'subject:1.0': 0.16; 'subject:3.3': 0.16; 'url:py': 0.16; 'driver': 0.17; 'module,': 0.17; 'windows': 0.19; 'module': 0.19; 'skip:p 30': 0.20; 'subject:) ': 0.20; 'bit': 0.21; 'import': 0.21; '2.x': 0.22; 'ctypes': 0.22; 'subject:support': 0.22; 'runs': 0.22; 'linux': 0.24; 'script': 0.24; 'implemented': 0.27; '2.6': 0.27; 'message-id:@mail.gmail.com': 0.27; 'lines': 0.28; 'url:code': 0.29; 'connection': 0.30; 'url:source': 0.30; 'primary': 0.30; 'file': 0.32; 'to:addr:python-list': 0.33; 'tutorial': 0.33; 'version': 0.34; 'received:google.com': 0.34; 'built-in': 0.35; 'table': 0.35; 'url:org': 0.36; 'totally': 0.36; 'subject:with': 0.36; 'subject: (': 0.36; 'skip:( 30': 0.38; 'page': 0.38; 'to:addr:python.org': 0.39; 'url:p': 0.63; '8bit%:31': 0.65; 'home': 0.66; '3000': 0.71; 'from:charset:gb2312': 0.78; '(id': 0.84; 'url:cn': 0.97
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=0FCLADDmm+7cNj0gn4ICoB+qus6uqHc7fE2uhAPTbW0=; b=p61H1YHJnkyAkw9oV0oWqjcuUObx60gQcqcn+50dx2lqkelmK70P78CurPI+Y1Y0qt ey4eV7iNut6HtlxVwqRXzQjqCjaNx2hG61cwbeXzi14QJAgEHP4+NXX7JhrWfsqZsPo4 RDEpYN3w/t8pFEPYvru4/q1CUFh1hqFUdk+e3iWRBBdlzSSt4R9cCIuJ6ljLbIPNXHEU mSxzrHQgBmnImkyM9TxqX45Mz74EqRJrI6tsrWxdfKkA/ZmPKOPknzMfTLOvjqcz/tzb SqnFcoN6N0tAeiWLEkCm90RzmaY/icY5HWtm/kHrRqCkC8tj904AwXJs7mPY231uEQpw ef9w==
MIME-Version 1.0
X-Received by 10.50.219.228 with SMTP id pr4mr12715013igc.40.1361451971429; Thu, 21 Feb 2013 05:06:11 -0800 (PST)
Date Thu, 21 Feb 2013 21:06:11 +0800
Subject PyPyODBC 1.0 (Pure Python ODBC) released with Python 3.3 support
From 江文 <jiangwen365@gmail.com>
To python-list@python.org
Content-Type multipart/alternative; boundary=bcaec555513c22e0e404d63bbda2
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
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.2163.1361451974.2939.python-list@python.org> (permalink)
Lines 147
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1361451974 news.xs4all.nl 6949 [2001:888:2000:d::a6]:57832
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:39422

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

PyPyODBC, the single script Python ODBC module, now runs under both Python
2.x and Python 3.3


PyPyODBC - A Pure Python ctypes ODBC module
>
> Features
>
>    - *One pure Python script, runs on CPython / IronPython<http://ironpython.codeplex.com/>
>     / PyPy <http://pypy.org/> , Version 2.4 / 2.5 / 2.6 / 2.7 , Win /
>    Linux , 32 / 64 bit*
>    - *Almost totally same usage as pyodbc<http://code.google.com/p/pyodbc>
>    * ( can be seen as a re-implementation of pyodbc in pure Python )
>    - *Simple - the whole module is implemented in a single python script
>    with less than 3000 lines<http://code.google.com/p/pypyodbc/source/browse/trunk/pypyodbc/pypyodbc.py>
>    *
>    - *Built-in Access MDB file creation and compression functions on
>    Windows*
>
> Simply try pypyodbc:
>
> import pypyodbc
>
> pypyodbc.win_create_mdb('D:\\database.mdb')
>
> connection = pypyodbc.connect('Driver={Microsoft Access Driver (*.mdb)};DBQ=D:\\database.mdb')
>
> SQL = 'CREATE TABLE saleout (id COUNTER PRIMARY KEY,product_name VARCHAR(25))'
>
> connection.cursor().execute(SQL)
>
>
> Home Page <http://code.google.com/p/pypyodbc/>
>
> Tutorial <http://blog.sina.com.cn/s/blog_6c64ac1501019ns8.html>
>
> 教程 <http://blog.sina.com.cn/s/blog_6c64ac1501019mx2.html>
>
> Tutorial (Français) <http://blog.sina.com.cn/s/blog_6c64ac1501019ost.html>
>
>
>

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


Thread

PyPyODBC 1.0 (Pure Python ODBC) released with Python 3.3 support 江文 <jiangwen365@gmail.com> - 2013-02-21 21:06 +0800

csiph-web