Logo     Photos

6 Member(s) Online

PyCon is a 100%
Volunteer-run
Conference Organized by
Members of the
Python
Community.

Site/Questions etc ?

Valid XHTML 1.0 Transitional

Valid CSS!

PyCon 2007 is sponsored
in part by
Zenoss - The Next Step in IT Management Google Microsoft .Net Framework EWT LLC Enthought, Inc. ITA Software
Platinum
Wingware Python IDE Accense Technology, Inc.
Gold
Quality Vision International Inc. MerchantCircle Big Nerd Ranch, Inc. High Speed Rails Canonical ZeOmega -- Open Minds' Open Solutions Open Source Applications Foundation CCP Games Tummy.com - we do linux AG Interactive ActiveState - Dynamic Tools for Dynamic Languages
Silver
Python411 Podcast Series O'Reilly Media, Inc.
Media

dbapiext: Proposed extensions to DBAPI

Presenter: Martin Blais <blais@furius.ca>, EWT LLC

I will present some modifications that could be made to the DBAPI-2.0 Cursor.execute() function to make writing SQL queries much easier than it currently is. In particular, the simple modifications that are proposed make it less likely for users to make mistakes that involve escaping parameters, take advantage of the dynamic typing capabilities of Python and significantly reduce the amount of code required to perform some of the common SQL query. In addition, I will demonstrate an implementation of the proposed features on top of an existing DBAPI interface (psycopg2). The simple Python module that implements the new features to work on any existing DBAPI interface is available for download.

http://furius.ca/pubcode/pub/conf/common/lib/python/dbapiext.html http://furius.ca/pubcode/pub/conf/common/lib/python/dbapiext.py.html

Content Last Modified: January 24, 2007, at 05:33 PM