pymssql is a Python module that provides a Python DBAPI interface around FreeTDS.
Note
pymssql is currently not included in SQLAlchemy's continuous integration (CI) testing.
Modern versions of this driver worked very well with SQL Server and FreeTDS from Linux and were highly recommended. However, pymssql is currently unmaintained and has fallen behind the progress of the Microsoft ODBC driver in its support for newer features of SQL Server. The latest official release of pymssql at the time of this document is version 2.1.4 (August, 2018) and it lacks support for:
The above features are all supported by mssql+pyodbc when using Microsoft's ODBC Driver for SQL Server (msodbcsql), which is now available for Windows, (several flavors of) Linux, and macOS.
Class | _MSNumeric_pymssql |
Undocumented |
Class | MSDialect_pymssql |
Undocumented |
Class | MSIdentifierPreparer_pymssql |
Undocumented |