Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > PyPyODBC 1.0.5 released. (DBI 2.0 ODBC module compatible with PyPy,IronPython and SQLAlchemy)

Reply
Thread Tools

PyPyODBC 1.0.5 released. (DBI 2.0 ODBC module compatible with PyPy,IronPython and SQLAlchemy)

 
 
½­ÎÄ
Guest
Posts: n/a
 
      03-10-2013
Changes in Ver 1.0.5 (and 1.0.4, 1.0.3, 1.0.2, 1.0.1)

- *Fix several bugs under Python 3.x*
- *Add Mac / iODBC platform support*
- *Improved ODBC ANSI / unicode mode support*


Features

- *One pure Python script, runs on CPython /
IronPython<https://code.google.com/p/pypyodbc/wiki/Enable_SQLAlchemy_on_IronPython>
/ PyPy <http://pypy.org/> , Python 3.3 / 2.4 / 2.5 / 2.6 / 2.7 , Win /
Linux / Mac , 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<https://github.com/jiangwen365/pypyodbc/blob/master/pypyodbc.py>
*
- *Built-in functions<https://code.google.com/p/pypyodbc/wiki/pypyodbc_for_access_mdb_file>
to
create and compress Access MDB files on Windows*

Simply try pypyodbc:

import pypyodbc

pypyodbc.win_create_mdb('D:\\database.mdb')

connection_string = 'Driver={Microsoft Access Driver
(*.mdb)};DBQ=D:\\database.mdb'

connection = pypyodbc.connect(connection_string)

SQL = 'CREATE TABLE saleout (id COUNTER PRIMARY KEY,product_name VARCHAR(25));'

connection.cursor().execute(SQL).commit()

....

Samples*A HelloWorld sample of python database
programming<https://code.google.com/p/pypyodbc/wiki/A_HelloWorld_sample_to_access_mssql_with_python>
**Create & Compact Access MDB
database<https://code.google.com/p/pypyodbc/wiki/pypyodbc_for_access_mdb_file>
*Install

*Download the latest package<http://code.google.com/p/pypyodbc/downloads/list>
* , unzip to a folder, *double click the setup.py file*, or run

setup.py install

Or if you have pip available:

pip install pypyodbc

Or get the latest pypyodbc.py script from
*GitHub<https://github.com/jiangwen365/pypyodbc>
* (Main Development site)

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PyPyODBC 1.0 (Pure Python ODBC) released with Python 3.3 support ½­ÎÄ Python 0 02-21-2013 01:06 PM
PyPyODBC 0.9.2 (Pure Python ODBC) released ½­ÎÄ Python 0 02-03-2013 03:15 PM
PyPyODBC 0.8 released (Pure Python ODBC module) ½­ÎÄ Python 0 08-25-2012 05:29 AM
PyPyODBC 0.6 released! (A Pure Python ODBC module) ½­ÎÄ Python 0 07-04-2012 02:02 PM
PyPyODBC 0.5 alpha released! (A Pure Python ODBC module) ½­ÎÄ Python 0 06-15-2012 02:08 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57