public marks

PUBLIC MARKS from pvergain with tags python & dtuple

11 November 2006 21:45

Dtuple database module

(via)
This module wraps up return tuples from the fetch* methods in the Python Database API. Using this class, the return tuples can be treated as tuples, dictionaries, or objects with attributes corresponding to the column names. The module is memory efficient -- a "tuple descriptor" is shared across all result rows, and the result row "wrapper" is very lightweight. The speed is quite reasonable.