[Q] C-api: string|int|... construction

Thomas Heller theller at python.net
Fri Apr 23 10:40:20 EDT 2004


"Ames Andreas (MPA/DF)" <Andreas.Ames at tenovis.com> writes:

> Duncan Booth <me at privacy.net> writes:
>
>> Why are you wrapping the ODBC api instead of using one of the
>> existing wrappings?
>
> I just know about mxODBC and pyodbc (from pywin32, but it's easily
> ported to posix as it seems, there's something on Gnu's savannah I
> think).  Please tell me if there are others, I'd be glad to use
> existing ones to save time.
>
> Both of the above don't fit my needs both license-wise and technically
> (easy access to meta-data/schema, thread-safety etc.).  I actually
> like the idea of a low-level python wrapper around ODBC.  A dbi
> wrapper might be easier to write in python itself.

There is a python wrapping of odbc in Sam Rushing's dynwin package,
IIRC.  It is based on his calldll/npstruct package.

It may be an interesting experience to port this to the ctypes package,
which is the successor of calldll/npstruct ;-).

Thomas





More information about the Python-list mailing list