I know pyodbc is an older project and probably more featureful and robust, but is there anything about its design (based on components of compiled C code), that would make it preferable to a pure Python implementation, such as pypyodbc?
I do a lot of ETL work and am thinking of switching from a Linux/Jython/JDBC approach to Windows/Cygwin/Python/ODBC approach.
Potential advantages of pyodbc
over pypyodbc
by being written in C would be:
Potential advantages of pypyodbc
over pyodbc
by written in Python would be:
Advantages of maturity:
The maturity thing is largely dependent on pyodbc
not being buggy. In my experience that is not true and it has had a fair number of memory leak bugs etc. And see comments on this answer - there is evidence that pyodbc
can be quite problematic.
The author's claim is that pypyodbc
is a reimplementation of the pyodbc
code in Python, and that would mean that the feature coverage should be equivalent. There may be some corner cases that have been less tried in the newer code though.
Disclaimer: I haven't yet tried pypyodbc