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


Groups > comp.lang.python > #38105

PyPyODBC 0.9.2 (Pure Python ODBC) released

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!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.002
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; 'url:py': 0.16; 'driver': 0.17; 'windows': 0.19; 'module': 0.19; 'skip:p 30': 0.20; 'subject:) ': 0.20; 'bit': 0.21; 'import': 0.21; 'ctypes': 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: (': 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; '<>*': 0.95; '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=628lIOzqw3D4FwCDFnV2hWNfNmaraPdc5Q3HfOie6dw=; b=hXYaojpDf6ciH/l9Y0HYmEsZPqhI/DNRz+ujTmF2BRUQ9LMtW3wAN/tKpMCet2AzA6 V4CikaPt08Hg1WgpWQLxyWW357wSscBlXTdqFPfIUvEQQ1tLWRHsehz1wZvhLfSjaVWT PCj5blCcpRGflA3h6VdRTGV44WzQAY6sxjMxCGVBT4JTpOGaNya/PZiZDjgb+ywGb9r0 H34pBMeBR8JoouMhd2orzOSqqv0iG2JCse8Apm+W9M8bjFRnvqAXNHurl6EU9Ge2Apft kTkWov0mbepHHeGInI8PN5WOPbIJPR/wkJsDcZyQG9wCWdfn2OLFz71ozVDl7bAe54SA YFKA==
MIME-Version 1.0
X-Received by 10.50.16.210 with SMTP id i18mr3101962igd.53.1359904518630; Sun, 03 Feb 2013 07:15:18 -0800 (PST)
Date Sun, 3 Feb 2013 23:15:18 +0800
Subject PyPyODBC 0.9.2 (Pure Python ODBC) released
From 江文 <jiangwen365@gmail.com>
To python-list@python.org
Content-Type multipart/alternative; boundary=f46d04428b6cc2ee7104d4d371cc
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.1313.1359904526.2939.python-list@python.org> (permalink)
Lines 131
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1359904526 news.xs4all.nl 6920 [2001:888:2000:d::a6]:44596
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:38105

Show key headers only | View raw


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

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 0.9.2 (Pure Python ODBC) released 江文 <jiangwen365@gmail.com> - 2013-02-03 23:15 +0800

csiph-web