def dict_factory(cursor, row):
out = {}<EOL>for i, col in enumerate(cursor.description):<EOL><INDENT>out[col[<NUM_LIT:0>]] = row[i]<EOL><DEDENT>return out<EOL>
Converts the cursor information from a SQLite query to a dictionary.

:param      cursor | <sqlite3.Cursor>
            row    | <sqlite3.Row>

:return     {<str> column: <variant> value, ..}